.hero {
  text-align: center;
  padding: 20px 0 32px;
}

.hero h1 {
  font-size: 2rem;
  font-weight: normal;
  margin-bottom: 8px;
}

.hero p {
  color: var(--muted);
  font-size: 1rem;
}

.search-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  margin-bottom: 28px;
  color: var(--muted);
}

.search-wrap:focus-within {
  color: var(--ink);
  border-color: color-mix(in srgb, var(--brand) 60%, var(--card-border));
}

.search-wrap input {
  flex: 1;
  border: none;
  background: none;
  outline: none;
  font-size: 1rem;
  color: var(--ink);
}

.search-wrap input::placeholder {
  color: var(--muted);
}

.page-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
  gap: 16px;
}

.page-card {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 18px;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

a.page-card {
  color: var(--ink);
}

a.page-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow), 0 0 0 2px color-mix(in srgb, var(--brand) 55%, transparent);
  text-decoration: none;
}

.page-card .card-icon {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: color-mix(in srgb, var(--brand) 55%, #ffffff);
  color: var(--brand-ink);
}

.page-card .card-icon .icon {
  width: 22px;
  height: 22px;
}

.page-card h3 {
  font-size: 1.05rem;
  font-weight: normal;
  display: flex;
  align-items: center;
  gap: 8px;
}

.page-card p {
  color: var(--muted);
  font-size: 0.88rem;
  flex: 1;
}

.page-card .card-foot {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  color: var(--muted);
}

.no-results {
  text-align: center;
  color: var(--muted);
  padding: 40px 0;
  display: none;
}

.no-results.show {
  display: block;
}

.no-results .icon {
  width: 34px;
  height: 34px;
  margin: 0 auto 10px;
}
