.hero-scene {
  --message-bg: #fff;
  --message-outgoing-bg: #daf5e4;
  --conversation-header: #edf5f0;
  --conversation-wall: #efede5;
  --conversation-glow: #dbecdf;
  --conversation-stroke: #a1c1ae;
  --conversation-muted: #4b625b;
  --conversation-accent: #186341;
  --conversation-receipt: #10668d;
  border-color: var(--conversation-stroke);
}

[data-theme="dark"] .hero-scene {
  --message-bg: #20332f;
  --message-outgoing-bg: #175143;
  --conversation-header: #152b27;
  --conversation-wall: #12211e;
  --conversation-glow: #20362d;
  --conversation-stroke: #426859;
  --conversation-muted: #b2c9be;
  --conversation-accent: #a5e3c0;
  --conversation-receipt: #7ad4f9;
}

.hero-scene .scene-header {
  min-height: 62px;
  border-color: var(--conversation-stroke);
  background: var(--conversation-header);
}

.scene-avatar {
  display: grid;
  flex: none;
  place-items: center;
  width: 40px;
  height: 40px;
  border: 1px solid var(--conversation-stroke);
  border-radius: 50%;
  background: var(--message-bg);
}

.hero-scene .scene-heading span { color: var(--conversation-accent); }

.hero-scene .conversation-flow {
  padding-inline: clamp(12px, 1.75vw, 24px);
  background: radial-gradient(ellipse at 80% 25%, var(--conversation-glow), transparent 65%), var(--conversation-wall);
}

.flow-date {
  align-self: center;
  padding: 2px 10px;
  border-radius: 6px;
  background: var(--conversation-header);
  color: var(--conversation-muted);
  font-size: .67rem;
  font-weight: 650;
}

.hero-scene .flow-step {
  --bubble: var(--message-bg);
  max-width: min(94%, 36ch);
  padding: 7px 9px;
  border: 0;
  border-radius: 0 11px 11px;
  background: var(--bubble);
  box-shadow: 0 1px 2px rgb(0 30 15 / 14%);
}

.hero-scene .flow-client {
  --bubble: var(--message-outgoing-bg);
  border-radius: 11px 0 11px 11px;
}

.hero-scene .flow-step::before {
  position: absolute;
  inset: 0 auto auto -5px;
  width: 6px;
  height: 7px;
  background: var(--bubble);
  clip-path: polygon(0 0, 100% 0, 100% 100%);
  content: "";
}

.hero-scene .flow-client::before {
  inset: 0 -5px auto auto;
  transform: scaleX(-1);
}

.hero-scene .flow-caption {
  position: absolute;
  width: 1px;
  height: 1px;
  clip-path: inset(50%);
  overflow: hidden;
}

.hero-scene [data-demo-content] {
  display: flex;
  flex-wrap: wrap;
  align-items: end;
  justify-content: flex-end;
  gap: 4px 8px;
}

.flow-copy { min-width: 0; margin-inline-end: auto; }

.flow-meta {
  display: inline-flex;
  flex: none;
  align-items: center;
  gap: 4px;
  color: var(--conversation-muted);
  font-size: .64rem;
  font-variant-numeric: tabular-nums;
  line-height: 1.1;
  white-space: nowrap;
}

.flow-receipt {
  display: inline-flex;
  align-items: center;
  color: var(--conversation-receipt);
}

.flow-receipt .icon { width: 12px; height: 12px; }
.flow-receipt .icon + .icon { margin-inline-start: -8px; }

.hero-scene .time-options span {
  background: var(--conversation-header);
  color: var(--conversation-muted);
}

.hero-scene .time-options .is-selected {
  background: var(--message-outgoing-bg);
  color: var(--conversation-accent);
}

.hero-scene .calendar-event {
  border-color: var(--conversation-stroke);
  background: var(--message-bg);
}

.hero-scene .demo-toolbar {
  border: 0;
  border-top: 1px solid var(--conversation-stroke);
  background: var(--conversation-header);
}

.hero-scene .demo-scenarios { padding: 0; background: none; }
.hero-scene .demo-scenarios button { color: var(--conversation-muted); }
.hero-scene .demo-scenarios button:hover,
.hero-scene .demo-scenarios button[aria-pressed="true"] {
  border-color: var(--conversation-stroke);
  background: var(--message-bg);
  color: var(--conversation-accent);
}
