.hc-hero {
  background: radial-gradient(1200px 500px at 85% -10%, rgba(163, 172, 247, 0.35), transparent 60%), linear-gradient(135deg, var(--navy), var(--blue-deep) 70%, var(--blue));
  color: #dfe3ff;
  padding: clamp(3.5rem, 2rem + 6vw, 6rem) 0 clamp(3.5rem, 2rem + 5vw, 5.5rem);
}

.hc-hero h1 {
  color: #fff;
  font-size: var(--fs-hero);
  max-width: 18ch;
}

.hc-hero p {
  margin-top: 1rem;
  max-width: 56ch;
  font-size: var(--fs-lead);
  color: #c9cff7;
}

.hc-hero .hc-search {
  margin-top: 2rem;
  max-width: 640px;
}

.hc-search {
  position: relative;
}

.hc-search form {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.3rem 0.35rem 0.3rem 1.1rem;
  box-shadow: var(--shadow-ui);
}

.hc-search form:focus-within {
  border-color: var(--blue-300);
  box-shadow: 0 0 0 4px var(--blue-100);
}

.hc-search svg {
  flex: none;
  color: var(--ink-3);
}

.hc-search input {
  flex: 1;
  min-width: 0;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--ink);
  padding: 0.55rem 0.25rem;
}

.hc-search input::placeholder {
  color: var(--ink-3);
}

.hc-search--compact form {
  padding: 0.05rem 0.2rem 0.05rem 0.9rem;
  box-shadow: none;
  background: var(--blue-50);
}

.hc-search--compact input {
  padding: 0.45rem 0.25rem;
  font-size: 0.92rem;
}

.hc-search--compact .hc-btn {
  display: none;
}

.hc-suggest {
  position: absolute;
  z-index: 50;
  top: calc(100% + 0.5rem);
  left: 0;
  right: 0;
  margin: 0;
  padding: 0.4rem;
  list-style: none;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r);
  box-shadow: var(--shadow);
  max-height: 420px;
  overflow: auto;
}

.hc-suggest a {
  display: block;
  padding: 0.65rem 0.8rem;
  border-radius: var(--r-sm);
  color: var(--ink);
}

.hc-suggest a:hover,
.hc-suggest a[aria-selected='true'] {
  background: var(--blue-50);
  text-decoration: none;
}

.hc-suggest strong {
  display: block;
  font-size: 0.95rem;
}

.hc-suggest span {
  display: block;
  font-size: 0.82rem;
  color: var(--ink-3);
  margin-top: 0.1rem;
}

.hc-suggest .hc-suggest__all {
  color: var(--blue);
  font-weight: 700;
  font-size: 0.9rem;
}

.hc-section {
  padding: clamp(2.5rem, 1.5rem + 4vw, 4.5rem) 0 0;
}

.hc-section__head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.hc-section__head h2 {
  font-size: var(--fs-h2);
}

.hc-cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.1rem;
}

.hc-card {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  padding: 1.5rem;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r);
  color: var(--ink-2);
  transition: border-color 0.15s, box-shadow 0.15s, transform 0.15s;
}

.hc-card:hover {
  border-color: var(--blue-200);
  box-shadow: var(--shadow-ui);
  transform: translateY(-2px);
  text-decoration: none;
}

.hc-card__icon {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 14px;
  background: var(--blue-100);
  color: var(--blue);
}

.hc-card h3 {
  font-size: var(--fs-h3);
}

.hc-card p {
  font-size: 0.95rem;
  line-height: 1.6;
}

.hc-card__more {
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  color: var(--blue);
  font-weight: 700;
  font-size: 0.9rem;
}

.hc-list {
  list-style: none;
  margin: 0;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: var(--r);
  overflow: hidden;
}

.hc-list li + li {
  border-top: 1px solid var(--line);
}

.hc-list a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 1.25rem;
  color: var(--ink);
  font-weight: 600;
}

.hc-list a:hover {
  background: var(--blue-50);
  text-decoration: none;
}

.hc-list small {
  display: block;
  margin-top: 0.15rem;
  font-weight: 500;
  font-size: 0.86rem;
  color: var(--ink-3);
}

.hc-list svg {
  flex: none;
  color: var(--ink-3);
}

.hc-crumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem;
  list-style: none;
  margin: 0;
  padding: 0;
  font-size: 0.88rem;
  color: var(--ink-3);
}

.hc-crumbs li {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.hc-crumbs a {
  color: var(--ink-2);
}

.hc-crumbs svg {
  color: var(--line);
}

.hc-band {
  margin-top: 3.5rem;
  padding: clamp(1.75rem, 1.2rem + 2vw, 2.5rem);
  border-radius: var(--r-lg);
  background: linear-gradient(135deg, var(--navy), var(--blue-deep));
  color: #c9cff7;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.hc-band h2 {
  color: #fff;
  font-size: var(--fs-h2);
}

.hc-band p {
  margin-top: 0.4rem;
  max-width: 52ch;
}

.hc-empty {
  padding: 2rem;
  text-align: center;
  color: var(--ink-3);
  border: 1px dashed var(--line);
  border-radius: var(--r);
}

.hc-results__count {
  margin-bottom: 1rem;
  color: var(--ink-3);
}
