.chat-examples {
  margin-block: 0 clamp(2rem, 4vw, 3rem);
  padding-block: clamp(1.75rem, 4vw, 3rem);
  border-top: 1px solid var(--line);
}

.chat-examples__heading {
  margin-bottom: 1.4rem;
}

.chat-examples__heading h2 {
  margin: 0;
  color: var(--text);
  font: 750 clamp(1.8rem, 4vw, 2.8rem)/1.1 Inter, Arial, sans-serif;
  letter-spacing: -.04em;
  text-transform: none;
}

.chat-examples__heading p {
  max-width: 60ch;
  margin: .65rem 0 0;
  color: #c9c6cf;
  line-height: 1.6;
}

.chat-examples__layout,
.chat-examples__choices,
.chat-examples__transcripts {
  display: grid;
  gap: 1rem;
  min-width: 0;
}

.chat-examples--interactive .chat-examples__layout {
  grid-template-columns: minmax(12rem, .42fr) minmax(0, 1fr);
  align-items: start;
}

.chat-examples__choices button {
  display: grid;
  gap: .35rem;
  min-height: 52px;
  padding: .9rem 1rem;
  border: 1px solid #37343e;
  border-radius: 10px;
  background: #15151a;
  color: var(--text);
  text-align: left;
  font: inherit;
  cursor: pointer;
  overflow-wrap: anywhere;
}

.chat-examples__choices button:hover {
  border-color: var(--cool-accent);
}

.chat-examples__choices button[aria-pressed="true"] {
  border-color: var(--warm-accent);
  background: #2b1922;
}

.chat-examples__choices button span {
  color: #c9c6cf;
  font-size: .8125rem;
}

.chat-example {
  min-width: 0;
  overflow: hidden;
  border: 1px solid #37343e;
  border-radius: 15px;
  background: #15151a;
}

.chat-example__header,
.chat-example__footer {
  display: flex;
  align-items: center;
  gap: .85rem;
  padding: .85rem clamp(.9rem, 2.5vw, 1.5rem);
  background: #1c1b22;
}

.chat-example__header img {
  flex: none;
  object-fit: cover;
  object-position: center 12%;
  border-radius: 50%;
}

.chat-example__header h3 {
  margin: 0;
  font: 700 1rem/1.2 Inter, Arial, sans-serif;
}

.chat-example__header p,
.chat-example__footer p {
  margin: .2rem 0 0;
  color: #c9c6cf;
  font-size: .8125rem;
  line-height: 1.45;
}

.chat-example__messages {
  display: grid;
  gap: .75rem;
  margin: 0;
  padding: 1rem clamp(.9rem, 2.5vw, 1.5rem);
  list-style: none;
}

.chat-example__messages li {
  justify-self: start;
  max-width: min(88%, 55ch);
}

.chat-example__messages span {
  display: block;
  margin: 0 .35rem .25rem;
  color: #c9c6cf;
  font-size: .75rem;
  font-weight: 700;
}

.chat-example__messages p {
  margin: 0;
  padding: .55rem .8rem;
  border-radius: 4px 12px 12px;
  background: #292732;
  color: var(--text);
  font-size: .9375rem;
  line-height: 1.5;
}

.chat-example__messages .chat-example__you {
  justify-self: end;
}

.chat-example__you span {
  color: #ffd5dc;
  text-align: right;
}

.chat-example__you p {
  border-radius: 12px 4px 12px 12px;
  background: #422530;
}

.chat-example__footer {
  flex-wrap: wrap;
  border-top: 1px solid #37343e;
}

.chat-example__footer .button {
  min-height: 44px;
  padding: .65rem .9rem;
  border-radius: 7px;
  font-size: .875rem;
  letter-spacing: 0;
  text-transform: none;
}

@media (max-width: 700px) {
  .chat-examples--interactive .chat-examples__layout {
    grid-template-columns: minmax(0, 1fr);
  }

  .chat-examples__choices {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: .4rem;
  }

  .chat-examples__choices button {
    padding: .5rem;
    font-size: .8125rem;
    align-content: center;
  }

  .chat-examples__choices button span {
    display: none;
  }

  .chat-example__messages li {
    max-width: 94%;
  }
}
