.hero { padding: 34px 0 62px; }
.hero-grid { grid-template-columns: .85fr 1.15fr; gap: 52px; }
h1 { font-size: clamp(2.8rem, 5vw, 4.8rem); }
.hero-copy { font-size: 1.03rem; }
.live-chat { width: 100%; max-width: 560px; transform: none; justify-self: end; padding: 21px; scroll-margin-top: 18px; }
.live-chat .chat-top { padding-bottom: 14px; }
.chat-badge { color: #b7c3d5; font-size: .74rem; padding: 5px 9px; border: 1px solid var(--line); border-radius: 999px; }
.live-chat .messages { display: flex; flex-direction: column; gap: 12px; min-height: 145px; max-height: 320px; overflow-y: auto; padding: 18px 2px; overscroll-behavior: contain; }
.live-chat .bubble { flex: 0 0 auto; white-space: pre-wrap; overflow-wrap: anywhere; }
.live-chat .bubble.user { align-self: flex-end; }
.live-chat .bubble.bot { align-self: flex-start; }
.live-chat .pending { color: #b9c8dc; background: rgba(255,255,255,.07); }
.chat-starters { display: flex; flex-wrap: wrap; gap: 7px; margin-bottom: 16px; }
.chat-starters[hidden] { display: none; }
.chat-starters button { padding: 8px 11px; border-radius: 12px; border: 1px solid rgba(97,226,213,.3); color: #bff5ed; background: rgba(97,226,213,.055); cursor: pointer; font-size: .8rem; text-align: left; }
.chat-starters button:hover { background: rgba(97,226,213,.14); }
.chat-compose { display: flex; align-items: flex-end; gap: 9px; padding: 8px; border: 1px solid rgba(162,181,212,.4); border-radius: 17px; background: rgba(9,16,34,.55); }
.chat-compose:focus-within { border-color: var(--mint); box-shadow: 0 0 0 3px rgba(97,226,213,.1); }
.chat-compose textarea { flex: 1; width: 100%; min-width: 0; min-height: 45px; max-height: 120px; padding: 10px 6px; resize: vertical; border: 0; outline: none; font: inherit; font-size: 16px; line-height: 1.5; color: var(--paper); background: transparent; }
.chat-compose textarea::placeholder { color: #a5b2cb; }
.chat-compose button { display: grid; place-items: center; flex: 0 0 44px; height: 44px; border-radius: 12px; border: 0; color: #0b1021; background: var(--mint); font-size: 1.5rem; cursor: pointer; }
.chat-compose button:disabled, .chat-starters button:disabled { opacity: .45; cursor: default; }
.chat-status-line { min-height: 21px; margin: 9px 2px 7px; color: #b7c5db; font-size: .75rem; }
.chat-privacy { margin: 0 2px; color: #92a3bf; font-size: .7rem; line-height: 1.5; }
.chat-privacy a { text-decoration: underline; text-underline-offset: 2px; }
.chat-footer { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-top: 15px; padding-top: 12px; border-top: 1px solid var(--line); font-size: .78rem; }
.chat-footer a { color: var(--mint); }
.chat-clear { color: #a7b7d0; background: none; border: 0; padding: 0; cursor: pointer; font-size: .75rem; text-decoration: underline; text-underline-offset: 2px; }
.chat-clear:disabled { opacity: .4; cursor: default; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
@media (max-width: 800px) {
  .hero { padding: 9px 0 34px; }
  .hero-grid { grid-template-columns: 1fr; gap: 19px; }
  h1 { margin: 0 0 10px; font-size: clamp(2rem, 8vw, 3rem); line-height: 1.05; }
  .hero-copy { margin: 0; font-size: .93rem; line-height: 1.5; }
  .hero-actions, .hero .fine-print { display: none; }
  .live-chat { margin: 0; max-width: none; padding: 16px; border-radius: 21px; }
  .live-chat .messages { min-height: 76px; max-height: 290px; padding: 15px 0; }
  .chat-starters { gap: 6px; margin-bottom: 12px; }
  .chat-starters button { padding: 7px 9px; font-size: .76rem; }
  .chat-status-line { font-size: .7rem; }
  .chat-privacy { font-size: .66rem; }
}
