/* dust — validated input and full-stack tests. */

.craft-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 46px;
}

.craft-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0.008));
}

.craft-card h3 {
  margin: 0;
  font-size: 1.08rem;
  letter-spacing: -0.01em;
}

.craft-card p {
  margin: 10px 0 20px;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.65;
}

.craft-card .code-shell {
  margin-top: 0;
}

.craft-card .code-shell pre {
  font-size: 0.73rem;
  line-height: 1.7;
}

.craft-card .text-link {
  margin-top: auto;
  padding-top: 20px;
}

@media (max-width: 900px) {
  .craft-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 620px) {
  .craft-card {
    padding: 22px;
  }

  .craft-card .code-shell pre {
    font-size: 0.71rem;
  }
}
