/* Chat Card visual language inspired by https://21st.dev/@kokonutd/components/chat-card.
   Native CSS adaptation for this static landing page; no React dependency. */
.chat.chat-v2 {
  color: #173a35;
  background: #f5f8f5;
  border: 1px solid #dce7df;
  border-radius: 15px;
  box-shadow: 0 16px 42px #06292338, 0 2px 8px #0629231a;
  overflow: hidden;
}

.chat-v2__head.chat-head {
  display: flex;
  align-items: center;
  gap: 11px;
  min-height: 68px;
  padding: 11px 15px;
  background: #fff;
  border-bottom: 1px solid #e0e8e1;
}

.chat-v2__head.chat-head:focus-visible {
  outline: 3px solid #3d947e;
  outline-offset: -4px;
}

.chat-v2__avatar {
  flex: 0 0 40px;
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 13px;
  color: #fff;
  background: #0b514b;
  font: 700 17px/1 Manrope, sans-serif;
  box-shadow: inset 0 1px #ffffff38;
}

.chat-v2__identity { min-width: 0; }
.chat-v2__identity strong {
  display: block;
  font: 700 13px/1.35 Manrope, sans-serif;
  letter-spacing: -.15px;
}
.chat-v2__identity small {
  display: flex;
  align-items: center;
  gap: 5px;
  margin-top: 2px;
  color: #627a70;
  font: 500 11px/1.35 'DM Sans', sans-serif;
}
.chat-v2__identity small::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #50a476;
}
.chat-v2__example {
  margin-left: auto;
  padding: 5px 7px;
  border: 1px solid #d9e7da;
  border-radius: 5px;
  color: #4d6c5e;
  background: #f5faf5;
  white-space: nowrap;
  font: 700 9px/1.2 'DM Sans', sans-serif;
  letter-spacing: .65px;
  text-transform: uppercase;
}

.chat-v2__thread {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 15px 16px 16px;
  background-color: #f0f5ef;
  background-image: radial-gradient(#c9dacd55 1px, transparent 1px);
  background-size: 18px 18px;
}
.chat-v2__day {
  align-self: center;
  padding: 3px 10px;
  border: 1px solid #dce6dd;
  border-radius: 999px;
  color: #557166;
  background: #ffffffed;
  font: 700 10px/1.35 'DM Sans', sans-serif;
  letter-spacing: .2px;
}
.chat-v2__bubble {
  width: fit-content;
  max-width: min(89%, 330px);
  padding: 9px 11px 7px;
  border: 1px solid #e4ebe4;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 1px 5px #173a350d;
  font: 500 12px/1.42 'DM Sans', sans-serif;
}
.chat-v2__bubble--visitor { align-self: flex-start; border-top-left-radius: 3px; }
.chat-v2__bubble--agent {
  align-self: flex-end;
  border-color: #cde7d1;
  border-top-right-radius: 3px;
  background: #e2f3e0;
}
.chat-v2__bubble p { margin: 0; }
.chat-v2__meta {
  display: block;
  margin-top: 3px;
  color: #648176;
  font: 500 10px/1.2 'DM Sans', sans-serif;
  text-align: right;
}
.chat-v2__read { color: #227c6e; font-weight: 750; letter-spacing: -2px; }

.chat-v2__foot {
  display: flex;
  align-items: center;
  gap: 9px;
  min-height: 42px;
  padding: 8px 14px;
  border-top: 1px solid #dce6dd;
  color: #5d7469;
  background: #fff;
  font: 500 11px/1.3 'DM Sans', sans-serif;
}
.chat-v2__foot::before {
  content: 'i';
  flex: 0 0 16px;
  display: grid;
  place-items: center;
  width: 16px;
  height: 16px;
  border: 1px solid #a9c3b3;
  border-radius: 50%;
  color: #3d725b;
  font: 700 10px/1 'DM Sans', sans-serif;
}

@media (max-width: 720px) {
  .chat-v2__thread { padding: 13px; gap: 9px; }
  .chat-v2__bubble { max-width: 90%; font-size: 11.5px; }
  .chat-v2__head.chat-head { padding: 10px 12px; }
}

@media (max-width: 390px) {
  .chat-v2__example { font-size: 8px; letter-spacing: .2px; }
  .chat-v2__identity strong { font-size: 12px; }
  .chat-v2__identity small { font-size: 10px; }
}
