/* ADR-0060: the steps, the feature cards, the demo, early access and the questions. */

.steps,
.cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.steps li {
  display: grid;
  gap: 10px;
  padding-top: 20px;
  border-top: 2px solid var(--border);
}

.num {
  color: var(--accent);
}

.steps p,
.cards p {
  color: var(--text-2);
}

.cards li {
  display: grid;
  gap: 10px;
  align-content: start;
  padding: 24px;
  border: 1px solid var(--border);
  border-radius: 16px;
  background: var(--bg);
}

.cards svg {
  width: 28px;
  height: 28px;
  margin-bottom: 6px;
  fill: none;
  stroke: var(--accent);
  stroke-width: 1.75;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.demo-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
  gap: 48px;
  align-items: center;
}

.demo-grid > div:first-child {
  display: grid;
  gap: 20px;
  justify-items: start;
}

.demo-grid h2 {
  margin-bottom: 0;
}

.tries {
  padding: 24px;
  border: 1px solid var(--border);
  border-radius: 16px;
  background: var(--surface);
}

.label {
  margin-bottom: 14px;
  color: var(--text-3);
}

.tries ul {
  display: grid;
  gap: 10px;
}

.tries li {
  padding: 10px 14px;
  border-radius: 12px;
  background: var(--accent-soft);
  font-family: var(--mono);
  font-size: 0.9375rem;
}

.tries li:lang(bn) {
  font-family: var(--sans);
}

.early {
  display: grid;
  gap: 18px;
  justify-items: center;
  padding: clamp(40px, 6vw, 64px) 24px;
  border-radius: 24px;
  background: var(--accent-soft);
  text-align: center;
}

.early h2 {
  margin-bottom: 0;
}

.early p {
  max-width: 560px;
  color: var(--text-2);
  font-size: 1.0625rem;
}

.narrow {
  max-width: 800px;
}

details {
  border-bottom: 1px solid var(--border);
}

summary {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 0;
  font-weight: 600;
  font-size: 1.0625rem;
  cursor: pointer;
  list-style: none;
}

summary::-webkit-details-marker {
  display: none;
}

summary::after {
  content: '+';
  color: var(--accent);
  font: 500 1.25rem/1 var(--mono);
}

details[open] summary::after {
  content: '−';
}

details p {
  padding-bottom: 18px;
  color: var(--text-2);
}

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

  .steps,
  .cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

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