/* Homepage demo: the saved example, rendered by the shipped options renderer in
   #demo-artifact. The shared chat bubble, role and typing rules live in index.html. */
#demo .demo-title {
  margin-bottom: 8px;
}
#demo .demo-lede {
  margin: 0 auto 24px;
  max-width: 640px;
  color: var(--text-muted);
  font-size: 17px;
  text-align: center;
}
#demo .demo-stage {
  display: flex;
  flex-direction: column;
  gap: 16px;
  max-width: 1040px;
  margin: 0 auto;
}
#demo .demo-reply {
  position: relative;
}
#demo .demo-answer {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
#demo .chat-role--fm {
  align-self: flex-end;
  margin: 4px 0 -6px;
}
#demo .demo-replica {
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 16px 16px 4px 16px;
  background: var(--cream-hover);
  box-shadow: var(--card-shadow-hover);
}
#demo-artifact {
  display: block;
  width: 100%;
  min-height: 720px;
  border: 0;
  background: var(--cream-hover);
}
#demo .demo-cta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px 24px;
  max-width: 1040px;
  margin: 28px auto 0;
}
#demo .demo-cta-note {
  margin: 0;
  color: var(--text-primary);
  font-size: 17px;
  line-height: 1.5;
}

@media (max-width: 768px) {
  #demo .demo-lede { font-size: 16px; }
  #demo .demo-cta { flex-direction: column; align-items: stretch; gap: 14px; }
  #demo .demo-cta .hero-cta { justify-content: center; }
  #demo .demo-cta-note { font-size: 16px; }
}
