/* Not convinced? Talk to Cleo */
.ask { background: #003049; padding: clamp(66px, 9vw, 115px) var(--pad); }
.ask-head { text-align: center; max-width: 820px; margin: 0 auto; }
.ask-head h2 { font-size: clamp(34px, 5.4vw, 64px); }
.ask-head p { margin: 14px 0 0; font-size: clamp(17px, 1.9vw, 20px); color: var(--cream-soft); }

.ask-box {
  max-width: 760px; margin: clamp(28px, 4.5vw, 44px) auto 0;
  background: var(--night); border-radius: 26px; overflow: hidden;
  box-shadow: 0 0 0 1px rgba(243,237,228,.08), 0 40px 70px -40px rgba(0,0,0,.7);
}
.ask-top { display: flex; align-items: center; gap: 12px; padding: 16px 20px; border-bottom: 1px solid rgba(243,237,228,.08); }
.ask-av { width: 42px; height: 42px; border-radius: 50%; }
.ask-name { margin: 0; font-weight: 600; font-size: 16px; }
.ask-sub { margin: 0; font-size: 13px; color: var(--cream-soft); }

.ask-log {
  height: clamp(300px, 46vh, 420px); overflow-y: auto; overscroll-behavior: contain;
  padding: 20px; display: flex; flex-direction: column; gap: 14px;
  scrollbar-width: thin; scrollbar-color: rgba(243,237,228,.2) transparent;
}
.msg { display: flex; gap: 10px; align-items: flex-end; animation: msgIn .35s var(--ease) both; }
@keyframes msgIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.msg-me { justify-content: flex-end; }
.msg-av { width: 30px; height: 30px; border-radius: 50%; flex: none; }
.bubble-m {
  margin: 0; max-width: 82%;
  padding: 11px 16px; border-radius: 18px 18px 6px 18px;
  background: var(--blues); color: #fff; font-size: 16px; line-height: 1.4;
}
.bubble-c {
  max-width: 82%; padding: 12px 16px; border-radius: 18px 18px 18px 6px;
  background: rgba(243,237,228,.08); color: var(--cream);
}
.bubble-c p { margin: 0; font-size: 16px; line-height: 1.5; }

.dots { display: flex; gap: 5px; padding: 14px 16px; }
.dots span { width: 7px; height: 7px; border-radius: 50%; background: var(--cream-soft); animation: dot 1s ease-in-out infinite; }
.dots span:nth-child(2) { animation-delay: .15s; }
.dots span:nth-child(3) { animation-delay: .3s; }
@keyframes dot { 0%, 100% { opacity: .3; transform: translateY(0); } 50% { opacity: 1; transform: translateY(-3px); } }

.play {
  margin-top: 10px; display: inline-flex; align-items: center; gap: 8px;
  padding: 7px 14px 7px 10px; border-radius: 999px; cursor: pointer;
  background: rgba(243,237,228,.1); border: 1px solid rgba(243,237,228,.2); color: var(--cream);
  font: 600 13px var(--font-body);
}
.play[hidden] { display: none; }
.play-ico { width: 0; height: 0; border-left: 9px solid var(--cream); border-top: 6px solid transparent; border-bottom: 6px solid transparent; }
.play.is-playing .play-ico { width: 9px; height: 11px; border: 0; border-left: 3px solid var(--cream); border-right: 3px solid var(--cream); }

.ask-chips {
  display: flex; flex-wrap: wrap; gap: 8px;
  padding: 16px 20px 6px; border-top: 1px solid rgba(243,237,228,.08);
}
.chip {
  padding: 10px 15px; border-radius: 999px; cursor: pointer; text-align: left;
  background: transparent; border: 1px solid rgba(243,237,228,.3); color: var(--cream);
  font: 500 14.5px/1.3 var(--font-body);
  transition: background-color .25s var(--ease), border-color .25s var(--ease);
}
.chip:hover { border-color: var(--cream); background: rgba(243,237,228,.06); }
.ask-note { margin: 0; padding: 8px 20px 16px; font-size: 12px; color: var(--cream-soft); }

.ask-done { width: 100%; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; padding: 4px 0 8px; }
.ask-done p { margin: 0; font-size: 15px; color: var(--cream-soft); }
.ask-done .btn { min-height: 46px; font-size: 15px; }

/* phones: questions become a sideways strip so the chat stays visible */
@media (max-width: 600px) {
  .ask-box { border-radius: 20px; margin-left: calc(var(--pad) * -0.5); margin-right: calc(var(--pad) * -0.5); }
  .ask-log { height: 52vh; min-height: 300px; padding: 16px 14px; }
  .bubble-m, .bubble-c { max-width: 86%; }
  .bubble-m, .bubble-c p { font-size: 15.5px; }
  .ask-chips { flex-wrap: nowrap; overflow-x: auto; padding: 14px 14px 6px; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
  .ask-chips::-webkit-scrollbar { display: none; }
  .chip { flex: none; max-width: 78vw; white-space: normal; }
  .ask-done { flex: none; width: 100%; }
  .ask-note { padding: 6px 14px 14px; }
}

@media (prefers-reduced-motion: reduce) { .msg, .dots span { animation: none; } }

.ask-log { position: relative; }
