#launch-demo {
  min-width: 0;
  overflow: hidden;
  border: 1px solid #cbd0c4;
  border-radius: 25px;
  background: #fafaf4;
  padding: clamp(16px, 1.6vw, 25px);
  box-shadow: 0 16px 42px -34px #17231885;
}

#demo-chat:empty { display: none; }
.demo-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  min-height: 36px;
  margin: -5px 0 8px;
}
.demo-assistant {
  display: flex;
  align-items: center;
  gap: 9px;
  color: #42513c;
  font: 10px/1.3 var(--mono);
  text-transform: uppercase;
  letter-spacing: .13em;
}
.demo-assistant::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #91b942;
}
.demo-replay {
  min-height: 40px;
  min-width: 56px;
  padding: 0 2px 0 7px;
  border: 0;
  background: transparent;
  color: #485741;
  font: 11px/1.2 var(--mono);
}
.demo-replay:hover { text-decoration: underline; text-underline-offset: 3px; }
.demo-conversation {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 13px;
  margin: 0 0 19px;
}
.demo-prompt {
  display: grid;
  width: fit-content;
  max-width: min(36ch, 94%);
  padding: 11px 15px;
  border: 1px solid #c9d5b5;
  border-radius: 17px 17px 5px 17px;
  background: #edf2df;
  color: var(--ink);
  font: 500 clamp(15px, 1.2vw, 17px)/1.42 var(--sans);
  letter-spacing: -.018em;
}
.demo-prompt > span { grid-area: 1 / 1; }
.demo-measure { visibility: hidden; }
.demo-writing::after {
  content: "";
  display: inline-block;
  width: 2px;
  height: 1.05em;
  margin-left: 3px;
  background: #57752b;
  vertical-align: text-bottom;
  animation: demo-caret 1s steps(1) infinite;
}
@keyframes demo-caret { 50% { opacity: 0; } }
.demo-reply {
  display: flex;
  align-items: flex-start;
  align-self: flex-start;
  gap: 10px;
  color: #46523f;
  font: 15px/1.45 var(--sans);
  margin: 0;
  transition: opacity 300ms ease-out, transform 300ms ease-out;
}
.demo-agent-mark {
  position: relative;
  width: 22px;
  height: 22px;
  flex: 0 0 22px;
  border: 1px dashed #82a264;
  border-radius: 50%;
}
.demo-agent-mark::after {
  content: "";
  position: absolute;
  inset: 0;
  margin: auto;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--ink);
}
#launch-demo.demo-typing .demo-reply { opacity: 0; transform: translateY(4px); }
#launch-demo figure {
  transition: transform 700ms ease-out, opacity 700ms ease-out;
  transform-origin: center bottom;
}
#launch-demo.demo-building figure { transform: translateY(7px) scale(.985); opacity: .76; }
#launch-demo .preview-caption { margin: 0 0 9px; }
#launch-demo .radio { padding: clamp(11px, 1.15vw, 18px); box-shadow: none; border-radius: 15px; }
#launch-demo .display { height: clamp(144px, 14.6vw, 220px); }
#launch-demo .station-title { bottom: 17px; font-size: clamp(36px, 3.8vw, 58px); }
#launch-demo .station-top { top: 14px; }
#launch-demo .transport { padding: 13px 0 1px; gap: 12px; }
#launch-demo .play { width: 44px; height: 44px; }
@media (max-width:710px) {
  #launch-demo .display { height: clamp(139px, 36vw, 188px); }
  #launch-demo .station-title { font-size: clamp(37px, 9vw, 49px); }
}
@media (prefers-reduced-motion:reduce) {
  #launch-demo figure, #launch-demo .demo-reply { transition: none; }
  #launch-demo .demo-writing::after, #launch-demo .demo-replay { display: none; }
}
