.chat {
  overflow: auto;
  max-height: 355px;
}

html, body { overflow-x: hidden; }
.hero > *, .demo { min-width: 0; }

.chat-input {
  height: 51px;
  border: 1px solid #d8d3ca;
  border-radius: 15px;
  display: flex;
  align-items: center;
  padding: 0 7px 0 16px;
  background: #fff;
}

.chat-input:focus-within {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(48, 69, 200, .1);
}

.chat-input input {
  min-width: 0;
  flex: 1;
  border: 0;
  outline: 0;
  background: transparent;
  font: 500 13px Manrope;
  color: var(--ink);
}

.chat-input button {
  border: 0;
  width: 36px;
  height: 36px;
  border-radius: 11px;
  background: var(--ink);
  color: #fff;
  cursor: pointer;
  font-size: 18px;
}

.chat-input button:hover { background: var(--blue); }
.demo-note a { color: var(--blue); font-weight: 800; }

.trial {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8vw;
  align-items: center;
  background: #fff;
}

.trial-copy { max-width: 620px; }
.trial-copy > p { font-size: 19px; line-height: 1.65; color: var(--muted); }
.trial-copy ul { padding: 0; margin: 28px 0; }
.trial-copy li { list-style: none; padding: 13px 0; border-bottom: 1px solid var(--line); font-weight: 700; }
.trial-copy li::before { content: '✓'; color: var(--orange); margin-right: 12px; }
.cta-actions { justify-content: center; }
.cta-outline { border: 1px solid rgba(255, 255, 255, .7); color: #fff; }

@media (max-width: 900px) {
  .trial { grid-template-columns: 1fr; }
  .chat { max-height: 320px; }
}

@media (max-width: 520px) {
  .hero h1 {
    font-size: 36px;
    line-height: 1.08;
    overflow-wrap: anywhere;
  }

  .actions { align-items: stretch; }
  .actions .button { width: 100%; }
}
