/* landing.css — the index page: one block per project. */

.wrap {
  max-width: 1040px;
  margin: 0 auto;
  padding: 2.5rem 1.25rem 7rem;
}

.hero { margin-bottom: 2rem; }
.hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  background: var(--accent-light);
  padding: 0.3rem 0.7rem;
  border-radius: 999px;
  margin-bottom: 0.9rem;
}
.hero h1 {
  font-size: clamp(1.7rem, 5vw, 2.5rem);
  line-height: 1.15;
  letter-spacing: -0.03em;
  margin-bottom: 0.75rem;
}
.hero p {
  font-size: 1rem;
  color: var(--text-secondary);
  max-width: 46rem;
}
.hero p + p { margin-top: 0.6rem; }
.hero strong { color: var(--text-primary); }

.note {
  margin-top: 1.25rem;
  padding: 0.85rem 1rem;
  border: 1px solid var(--border);
  border-left: 4px solid var(--accent-yellow);
  border-radius: var(--radius);
  background: var(--bg-card);
  font-size: 0.86rem;
  color: var(--text-secondary);
}
.note b { color: var(--text-primary); }

.section-title {
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin: 2.25rem 0 0.85rem;
}

.grid {
  display: grid;
  gap: 0.85rem;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 17rem), 1fr));
}

.card {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  padding: 1rem;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: var(--bg-card);
  box-shadow: var(--shadow-sm);
  min-width: 0;
  transition: transform 150ms ease, box-shadow 150ms ease, border-color 150ms ease;
}
.card--open:hover { transform: translateY(-2px); box-shadow: var(--shadow); border-color: var(--accent); }
.card--soon { opacity: 0.72; }

.card-top { display: flex; align-items: flex-start; gap: 0.6rem; }
.card-emoji {
  flex-shrink: 0;
  width: 2.5rem; height: 2.5rem;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.35rem;
  border-radius: 12px;
  background: var(--bg-hover);
}
.card-head { flex: 1; min-width: 0; }
.card-name {
  font-size: 1rem;
  font-weight: 750;
  letter-spacing: -0.01em;
  overflow-wrap: anywhere;
}
.card-stack { font-size: 0.72rem; color: var(--text-muted); margin-top: 0.1rem; }

.card-desc {
  font-size: 0.84rem;
  color: var(--text-secondary);
  flex: 1;
}

.card-pills { display: flex; flex-wrap: wrap; gap: 0.35rem; }
.card-actions { display: flex; flex-wrap: wrap; gap: 0.45rem; margin-top: 0.2rem; }
.card-actions .btn { flex: 1 1 auto; min-width: 7.5rem; font-size: 0.8rem; padding: 0.5rem 0.8rem; }

.foot {
  margin-top: 3rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--border);
  font-size: 0.78rem;
  color: var(--text-muted);
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.25rem;
  justify-content: space-between;
}
.foot a { color: var(--accent); text-decoration: none; }
.foot a:hover { text-decoration: underline; }

@media (max-width: 520px) {
  .wrap { padding: 1.75rem 1rem 8rem; }
}
