/* ---------- hero ---------- */
.hero {
  padding: clamp(4rem, 12vh, 8rem) 0 3rem;
  max-width: 760px;
}

.headline {
  font-size: clamp(2.8rem, 7.5vw, 5.5rem);
  font-weight: 750;
  line-height: 1.02;
  letter-spacing: -0.045em;
  background: linear-gradient(180deg, #fff 30%, rgba(242, 238, 254, 0.65));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.glow-text {
  position: relative;
  display: inline-block;
  padding-right: 0.04em;
  background: linear-gradient(110deg, var(--violet), var(--cyan) 40%, var(--magenta) 70%, var(--violet));
  background-size: 250% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: shimmer 6s linear infinite;
  filter: drop-shadow(0 0 28px rgba(139, 92, 246, 0.55));
}

@keyframes shimmer { to { background-position: -250% 0; } }

.lead {
  margin-top: 1.5rem;
  max-width: 34rem;
  font-size: clamp(1.05rem, 2vw, 1.2rem);
  line-height: 1.6;
  color: var(--muted);
}

/* ---------- search ---------- */
.search {
  margin-top: 2.5rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  max-width: 480px;
  padding: 0.9rem 1.1rem;
  border-radius: 14px;
  border: 1px solid var(--glass-border);
  background: rgba(255, 255, 255, 0.035);
  backdrop-filter: blur(16px);
  cursor: text;
  transition: border-color 0.25s, box-shadow 0.25s, background 0.25s;
}

.search:focus-within {
  border-color: rgba(139, 92, 246, 0.6);
  background: rgba(255, 255, 255, 0.06);
  box-shadow: 0 0 0 4px rgba(139, 92, 246, 0.15), 0 0 40px rgba(139, 92, 246, 0.25);
}

.search-icon {
  flex: none;
  width: 18px;
  height: 18px;
  fill: none;
  stroke: var(--muted);
  stroke-width: 2;
  stroke-linecap: round;
}

.search input {
  flex: 1;
  min-width: 0;
  border: none;
  outline: none;
  background: none;
  color: var(--fg);
  font: inherit;
  font-size: 1rem;
}

.search input::placeholder { color: var(--faint); }
.search input::-webkit-search-cancel-button { display: none; }

.search kbd {
  flex: none;
  font-family: var(--mono);
  font-size: 0.75rem;
  color: var(--muted);
  padding: 0.15rem 0.5rem;
  border-radius: 6px;
  border: 1px solid var(--glass-border);
}

.stats {
  margin-top: 1rem;
  font-family: var(--mono);
  font-size: 0.75rem;
  color: var(--faint);
}
