.hero .lead, .hero .capabilities {
  max-width: 620px;
  font-size: 20px;
  line-height: 1.55;
  color: var(--ink);
}
.hero .lead { margin: 26px auto 16px; }
.hero .capabilities { margin: 0 auto 27px; }
.demo-shell {
  display: grid;
  align-items: start;
  container-type: inline-size;
  width: min(100%, 300px);
  aspect-ratio: 390 / 844;
  margin-inline: auto;
  border: 2px solid #D5DED9;
  border-radius: 36px;
  background: #FFF;
  box-shadow: 0 14px 40px #234C3609;
}
#demo-content { display: grid; padding: 10cqw 5.5cqw; font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif; }
/* All four conversations share one phone screen, scaling with its width. */
.example-conversation { grid-area: 1 / 1; min-width: 0; }
.example-conversation[aria-hidden="true"] { visibility: hidden; pointer-events: none; }
.demo-request, .demo-answer {
  position: relative;
  width: fit-content;
  max-width: 86%;
  padding: 3cqw 4cqw;
  border: 0;
  border-radius: 6cqw;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  isolation: isolate;
}
.demo-request { margin-left: auto; background: #0871DD; color: #FFF; }
.demo-answer { display: block; margin: 3cqw 0 2cqw; background: #E9E9EB; color: #212124; }
.demo-request p, .demo-answer p { font-size: 5cqw; line-height: 1.4; color: inherit; padding: 0; overflow-wrap: anywhere; }
.demo-request::before, .demo-answer::before {
  content: '';
  position: absolute;
  bottom: 0;
  width: 18px;
  height: 19px;
  z-index: -1;
}
.demo-request::before { right: -6px; background: #0871DD; border-bottom-left-radius: 15px; }
.demo-answer::before { left: -6px; background: #E9E9EB; border-bottom-right-radius: 15px; }
.demo-request::after, .demo-answer::after {
  content: '';
  position: absolute;
  bottom: 0;
  width: 12px;
  height: 22px;
  background: white;
  z-index: -1;
}
.demo-request::after { right: -12px; border-bottom-left-radius: 11px; }
.demo-answer::after { left: -12px; border-bottom-right-radius: 11px; }
.result-attachment {
  display: flex;
  align-items: center;
  gap: 3cqw;
  width: 86%;
  min-height: 26cqw;
  padding: 4cqw;
  border: 1px solid #E5E5EA;
  border-radius: 5cqw;
  overflow: hidden;
  background: #F5F5F7;
}
.attachment-caption { min-width: 0; }
.attachment-caption h3 { margin: 0; font-size: 4.7cqw; font-weight: 500; line-height: 1.3; letter-spacing: -.015em; color: #212124; overflow-wrap: anywhere; }
.attachment-caption p { font-size: 3.9cqw; line-height: 1.4; color: #717177; margin-top: 4px; }
.attachment-icon { width: 10cqw; height: 10cqw; flex-shrink: 0; color: #668779; }
.attachment-icon svg { display: block; width: 100%; height: 100%; fill: #E9F0EA; stroke: currentColor; stroke-width: 1.3; stroke-linecap: round; stroke-linejoin: round; }
.example-picker {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 4px;
  width: 100%;
  max-width: 620px;
  margin: 23px auto 24px;
  padding: 5px;
  border: 1px solid #D9E4DD;
  border-radius: 20px;
  background: #E6EEEA;
}
.example-picker button {
  justify-content: center;
  gap: 8px;
  min-width: 0;
  min-height: 48px;
  padding: 11px 12px;
  border: 1px solid transparent;
  border-radius: 14px;
  background: transparent;
  color: var(--muted);
  font-size: 12.5px;
  font-weight: 500;
  white-space: nowrap;
  transition: background .16s ease, color .16s ease, box-shadow .16s ease;
}
.example-picker button:hover { background: #FFFFFF70; color: var(--ink); }
.example-picker button[aria-pressed="true"] {
  background: #FFF;
  border-color: #DCE6DF;
  color: var(--green);
  box-shadow: 0 2px 6px #1D454212, 0 1px 2px #1D45420A;
}
.example-picker button:focus-visible { outline-offset: 2px; }
.example-picker button svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.memory { display: block; text-align: center; }
.memory h2 { max-width: none; }
.memory-intro p { max-width: 440px; margin: 12px auto 0; }
@media(max-width:600px) {
  .hero .lead, .hero .capabilities { max-width: 345px; font-size: 17px; line-height: 1.55; }
  .hero .lead { margin: 23px auto 16px; }
  .hero .capabilities { margin: 0 auto 25px; }
}
@media(max-width:700px) {
  .example-picker { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 360px; margin: 19px auto 22px; }
  .example-picker button { font-size: 11.5px; min-height: 46px; padding: 10px 6px; gap: 6px; }
  .example-picker button svg { width: 16px; height: 16px; }
}
