/* Стили, специфичные для статьи «Словарь ИИ». Общие компоненты — в shared/css. */

/* Hero: окно запроса к агенту, фраза рассыпается на токены */
.hero-prompt {
  width: 100%;
  max-width: 420px;
  box-shadow: var(--shadow);
}
.hero-prompt .window__body { display: grid; gap: 16px; }
.hero-prompt__text { font-size: 17px; line-height: 1.45; min-height: 50px; }
.hero-prompt__tokens { display: flex; flex-wrap: wrap; gap: 6px; min-height: 76px; align-content: flex-start; }
.hero-prompt__tokens .chip { font-size: 13px; padding: 5px 8px; animation: demo-in .35s var(--ease-out) both; }
.hero-prompt__foot { display: flex; justify-content: space-between; align-items: center; font-size: 12px; color: var(--muted); }
.hero__visual { display: flex; flex-direction: column; align-items: center; justify-content: center; }
.hero-prompt .window__body { padding-bottom: 30px; }
.hero-float {
  position: relative;
  align-self: flex-end;
  margin: -22px 4px 0 0;
  padding: 10px 14px;
  border-radius: 14px;
  background: #fff;
  color: #111215;
  font-size: 13px;
  line-height: 1.3;
  box-shadow: var(--shadow);
  transform: rotate(-3deg);
  opacity: 0;
  transition: opacity .4s var(--ease-out), transform .4s var(--ease-out);
}
.hero-float.is-on { opacity: 1; transform: rotate(-3deg) translateY(-4px); }
.hero-float b { display: flex; align-items: center; gap: 6px; font-weight: 500; }
.hero-float b::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: #2F7A5F; }
.hero-float span { color: #5E6068; font-size: 12px; }
@media (max-width: 640px) { .hero-float { margin-right: 0; } }
