.hero-tile { padding: 96px 0 80px; }

.hero-search-form { width: 100%; max-width: 660px; margin: 0 auto 48px; }
.hero-search-wrap {
  position: relative;
  display: flex;
  align-items: center;
  background: rgba(255,255,255,0.06);
  border: 1.5px solid rgba(255,255,255,0.15);
  border-radius: var(--r-pill);
  padding-right: 6px;
  transition: border-color .15s, background .15s;
}
.hero-search-wrap:focus-within {
  background: rgba(255,255,255,0.09);
  border-color: var(--accent-dark);
}
.search-icon {
  position: absolute;
  left: 18px;
  width: 18px;
  height: 18px;
  color: rgba(255,255,255,0.4);
  pointer-events: none;
}
.hero-search-input {
  flex: 1;
  background: transparent;
  border: none;
  outline: none;
  font-family: var(--font-text);
  font-size: 16px;
  font-weight: 400;
  color: var(--on-dark);
  padding: 14px 14px 14px 48px;
  -webkit-appearance: none;
}
.hero-search-input::placeholder { color: rgba(255,255,255,0.35); }
.hero-search-input::-webkit-search-cancel-button { -webkit-appearance: none; }
.hero-search-btn { font-size: 14px; padding: 9px 20px; }

.section-header { text-align: center; margin-bottom: 48px; }
.section-header .lead-sub { max-width: 540px; margin: 8px auto 0; }

.category-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 12px;
}
.cat-card {
  background: var(--canvas);
  border: 1px solid var(--divider);
  border-radius: var(--r-lg);
  padding: 20px var(--sp-lg);
  cursor: pointer;
  text-align: left;
  display: flex;
  flex-direction: column;
  gap: 4px;
  transition: border-color .15s, box-shadow .15s, transform .1s;
}
.cat-card:hover {
  border-color: var(--accent);
  box-shadow: 0 4px 20px rgba(212,83,10,0.06);
  transform: translateY(-1px);
}
.cat-card:active { transform: scale(.98); }
.cat-card:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.cat-name { font-size: 14px; font-weight: 600; color: var(--ink); line-height: 1.3; }
.cat-count { font-size: 12px; color: var(--accent); font-weight: 500; }

.feature-cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}
.feature-pillars {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.pillar {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--r-md);
  padding: 20px;
}
.pillar-icon { font-size: 22px; display: block; margin-bottom: 10px; }
.pillar-title { font-size: 14px; font-weight: 600; color: var(--on-dark); margin-bottom: 6px; }
.pillar-body { font-size: 13px; line-height: 1.5; color: var(--on-dark-muted); }

@media (max-width: 1023px) {
  .feature-cols { grid-template-columns: 1fr; gap: 40px; }
}
@media (max-width: 833px) {
  .feature-pillars { grid-template-columns: 1fr; }
  .hero-tile { padding: 64px 0 56px; }
}
@media (max-width: 640px) {
  .hero-search-form { max-width: 100%; }
  .hero-search-wrap { flex-direction: column; border-radius: var(--r-lg); padding: 0; }
  .hero-search-input { width: 100%; padding: 14px 14px 14px 48px; }
  .hero-search-btn { width: 100%; border-radius: 0 0 var(--r-lg) var(--r-lg); text-align: center; justify-content: center; }
}
