/* Demo-specific additions on top of ../style.css */

.demo-hero {
  display: grid;
  gap: 1rem;
}

.demo-eyebrow {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #6b7280;
  margin: 0 0 0.6rem;
  font-family: 'JetBrains Mono', monospace;
}

.demo-title {
  font-size: 2.25rem;
  line-height: 1.05;
  letter-spacing: -0.03em;
  margin: 0 0 0.45rem;
}

.demo-subtitle {
  max-width: 64ch;
  color: #374151;
  margin: 0;
}

.demo-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 0.25rem;
}

.demo-button,
.demo-button-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.8rem 1rem;
  border-radius: 8px;
  font-weight: 600;
  transition: all 0.2s ease;
}

.demo-button {
  background: #2563eb;
  color: white;
}

.demo-button:hover {
  background: #1d4ed8;
  color: white;
}

.demo-button-secondary {
  background: #fff;
  color: #1a1a1a;
  border: 1px solid #e5e7eb;
}

.demo-button-secondary:hover {
  border-color: #2563eb;
  color: #1a1a1a;
}

.demo-card-grid {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 0.75rem;
}

.demo-card {
  margin: 0;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  background: #fff;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.demo-card:hover {
  border-color: #2563eb;
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.08);
}

.demo-card-inner {
  display: block;
  padding: 1rem 1.25rem;
  color: inherit;
}

.demo-card-title {
  font-weight: 600;
  font-size: 1rem;
  display: block;
  margin-bottom: 0.25em;
  color: #1a1a1a;
}

.demo-card-desc {
  font-size: 0.9rem;
  color: #6b7280;
  line-height: 1.55;
}

.checklist,
.detail-list {
  margin: 0;
  padding-left: 1.25rem;
  color: #374151;
}

.checklist li,
.detail-list li {
  margin-bottom: 0.45rem;
}

.inline-code,
.note-box code {
  font-family: 'JetBrains Mono', monospace;
  background: #f3f4f6;
  border-radius: 6px;
  padding: 0.1rem 0.35rem;
}

.note-box {
  border: 1px solid #e5e7eb;
  background: #fff;
  border-radius: 8px;
  padding: 1rem 1.1rem;
  color: #374151;
}

.note-box strong {
  color: #1a1a1a;
}

.muted {
  color: #6b7280;
}

.doc-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.doc-links a {
  font-size: 0.95rem;
}

.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

@media (max-width: 720px) {
  .demo-title {
    font-size: 1.85rem;
  }

  .two-col {
    grid-template-columns: 1fr;
  }
}
