/* AI hosting page. Shared tokens and components (plan sheet, effort columns) live in landing.css. */

.lp section[id] { scroll-margin-top: 80px; }

/* Hero: a chat that ends with the app live */

.lp .w-chat { margin: 12px 0 0; }

.lp .w-chat-window {
  padding: 22px 20px;
  border-radius: 22px;
  background: #fff;
  box-shadow: 0 34px 60px -28px rgba(0, 0, 0, 0.65);
}

.lp .w-chat-log { display: grid; gap: 12px; }
.lp .w-msg { max-width: 84%; }

.lp .w-msg p {
  padding: 11px 15px;
  border-radius: 16px;
  font-size: 0.95rem;
  line-height: 1.45;
}

/* Yours on the right, the replies on the left, each with a small corner toward its side */
.lp .w-msg.is-you { justify-self: start; }
.lp .w-msg.is-you p { border-start-start-radius: 4px; background: var(--blush); color: var(--ink); }

.lp .w-msg.is-ai,
.lp .w-msg.is-mvn { justify-self: end; }

.lp .w-msg.is-ai p { border-start-end-radius: 4px; background: #f1edf0; color: var(--ink); }
.lp .w-msg.is-mvn p { border-start-end-radius: 4px; background: var(--magenta); font-weight: 600; color: #fff; }
.lp .w-msg.is-mvn p i { margin-inline-start: 4px; }

.lp .w-msg-who {
  display: block;
  margin-bottom: 3px;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--mute);
  text-align: left;
}

.lp .w-msg-card {
  display: grid;
  gap: 8px;
  margin-top: 6px;
  padding: 12px 14px;
  border-radius: 14px;
  background: var(--paper);
  box-shadow: 0 0 0 1px var(--rule);
  color: var(--ink);
}

.lp .w-msg-card b { font-size: 0.95rem; text-align: left; }
.lp .w-msg-tags { display: flex; flex-wrap: wrap; gap: 6px; }

.lp .w-msg-tags span {
  padding: 2px 9px;
  border-radius: 999px;
  background: #e9f4dd;
  font-size: 0.74rem;
  font-weight: 700;
  color: #3f6b16;
}

/* Typing dots inside a reply bubble; ai-hosting.js shows them while the reply is on its way */
.lp .w-dots {
  display: none;
  gap: 4px;
  padding: 13px 15px;
  border-radius: 16px;
  border-start-end-radius: 4px;
  background: #f1edf0;
}

.lp .w-dots i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--mute);
  animation: w-dot 1s infinite;
}

.lp .w-dots i:nth-child(2) { animation-delay: 0.15s; }
.lp .w-dots i:nth-child(3) { animation-delay: 0.3s; }

@keyframes w-dot {
  0%, 60%, 100% { opacity: 0.35; transform: translateY(0); }
  30% { opacity: 1; transform: translateY(-3px); }
}

.lp .w-chat figcaption {
  margin-top: 14px;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.65);
  text-align: center;
}

/* The tools the apps come from */

.lp .w-tools { padding: 44px 0; border-bottom: 1px solid var(--line); background: var(--paper); }
.lp .w-tools-title { font-size: 0.95rem; color: var(--mute); }

.lp .w-tools-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px 40px;
  margin-top: 10px;
}

.lp .w-tools-list li {
  font-family: var(--display);
  font-weight: 700;
  font-size: 2.4rem;
  line-height: 1;
}

/* Long database names wrap rather than push out of their column; the spec name stays on one line */
.lp .w-plan-specs strong { white-space: nowrap; }
.lp .w-plan-specs span { white-space: normal; text-align: left; }

@media (max-width: 900px) {
  .lp .w-chat { width: min(100%, 440px); margin-inline: auto; }
}

@media (max-width: 560px) {
  .lp .w-tools-list { gap: 6px 24px; }
  .lp .w-tools-list li { font-size: 1.9rem; }
}
