.agent-hero-demo {
  --kelsey-green: #021329;
  --kelsey-mint: #E8EEF4;
  width: 100%;
  text-align: left;
}
.agent-hero-demo .hero-ask-kelsey {
  width: 100%;
  text-align: center;
}
.agent-hero-demo .hero-ask-label {
  margin: 0 0 0.65rem;
  color: #021329;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.02em;
}
.agent-hero-demo .hero-ask-chips {
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
  justify-content: center;
  gap: 0.55rem;
}
.agent-hero-demo .hero-agent-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  min-height: 2.375rem;
  border: 1px solid #c5ccd6;
  border-radius: 0.4375rem;
  background: #fff;
  padding: 0.85rem 0.85rem 0.85rem 0.7rem;
  color: #1e293b;
  font: 500 0.9375rem/1.25 "Switzer", ui-sans-serif, system-ui, sans-serif;
  letter-spacing: -0.01em;
  text-align: left;
  cursor: pointer;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
  transition: border-color 0.15s ease, color 0.15s ease, box-shadow 0.15s ease, transform 0.15s ease;
}
.agent-hero-demo .hero-agent-chip svg {
  width: 0.875rem;
  height: 0.875rem;
  flex-shrink: 0;
  color: #334155;
}
.agent-hero-demo .hero-agent-chip:hover {
  border-color: #aeb7c4;
  color: #0f172a;
  transform: translateY(-1.5px);
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.08);
}
.agent-hero-demo .hero-agent-shell {
  width: 100%;
  margin: 1.5rem auto 0;
}
.agent-hero-demo .agent-card {
  display: flex;
  width: 100%;
  min-width: 0;
  overflow: hidden;
  border: 1px solid #e2e8f0;
  border-radius: 1.125rem;
  background: #fff;
  box-shadow: 0 8px 40px rgba(15, 23, 42, 0.08), 0 2px 10px rgba(15, 23, 42, 0.04);
}
.agent-hero-demo .hero-agent-main {
  display: flex;
  min-width: 0;
  flex: 1 1 auto;
  flex-direction: column;
}
.agent-hero-demo .hero-agent-messages {
  min-width: 0;
  padding: 1.5rem 2.15rem 1.75rem;
}
.agent-hero-demo .hero-agent-user-row {
  display: flex;
  align-items: flex-end;
  justify-content: flex-end;
  gap: 0.65rem;
}
.agent-hero-demo .hero-agent-user-bubble {
  width: max-content;
  max-width: min(100%, 34rem);
  border-radius: 1.15rem 1.15rem 0.35rem 1.15rem;
  background: #e0eaf5;
  padding: 0.7rem 0.95rem;
  color: #021329;
  font-size: 0.84375rem;
  font-weight: 500;
  letter-spacing: -0.01em;
  line-height: 1.35;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
}
.agent-hero-demo .hero-agent-user-avatar {
  display: flex;
  width: 2rem;
  height: 2rem;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border-radius: 9999px;
  background: #e2e8f0;
  transform: translateY(-3px);
}
.agent-hero-demo .hero-agent-user-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.agent-hero-demo .hero-agent-reply,
.agent-hero-demo .hero-agent-reply-text {
  width: 100%;
  min-width: 0;
}
.agent-hero-demo .hero-experiment-card {
  width: 100%;
  max-width: none;
  box-sizing: border-box;
}
.agent-hero-demo .hero-experiment-body {
  display: flex;
  align-items: stretch;
}
.agent-hero-demo .hero-experiment-change {
  max-width: 34%;
  flex: 0 0 34%;
  border-right: 1px solid #f1f5f9;
}
.agent-hero-demo .hero-experiment-chart-col {
  min-width: 0;
  flex: 1 1 66%;
  padding-top: 0.75rem !important;
  padding-bottom: 0.7rem !important;
}
.agent-hero-demo .hero-criteria-compare {
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
  margin-top: 0.65rem;
}
.agent-hero-demo .hero-criteria-row {
  display: grid;
  grid-template-columns: 92px 1fr;
  gap: 0.55rem 0.7rem;
  align-items: center;
}
.agent-hero-demo .hero-criteria-label {
  color: #334155;
  font-size: 0.75rem;
  font-weight: 600;
  line-height: 1.2;
}
.agent-hero-demo .hero-criteria-bars {
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: 0.28rem;
}
.agent-hero-demo .hero-criteria-bar-line {
  display: grid;
  grid-template-columns: 78px 1fr 34px;
  gap: 0.4rem;
  align-items: center;
}
.agent-hero-demo .hero-criteria-bar-name {
  overflow: hidden;
  color: #64748b;
  font-size: 0.625rem;
  font-weight: 500;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.agent-hero-demo .hero-criteria-track,
.agent-hero-demo .hero-mini-chart-track {
  overflow: hidden;
  border-radius: 999px;
  background: #e8eef3;
}
.agent-hero-demo .hero-criteria-track { height: 0.5rem; }
.agent-hero-demo .hero-criteria-fill,
.agent-hero-demo .hero-mini-chart-fill {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: #021329;
}
.agent-hero-demo .hero-criteria-fill--you,
.agent-hero-demo .hero-mini-chart-fill--muted { background: #94a3b8; }
.agent-hero-demo .hero-criteria-pct,
.agent-hero-demo .hero-mini-chart-value {
  color: #0f172a;
  font-size: 0.6875rem;
  font-weight: 700;
  text-align: right;
  font-variant-numeric: tabular-nums;
}
.agent-hero-demo .hero-insight-callout,
.agent-hero-demo .hero-criteria-gap {
  margin-top: 0.75rem;
  border: 1px solid #e2e8f0;
  border-radius: 0.65rem;
  background: #f8fafc;
  padding: 0.7rem 0.75rem;
}
.agent-hero-demo .hero-insight-callout--warning {
  border-color: #fde6bd;
  background: #fffbeb;
}
.agent-hero-demo .hero-criteria-gap {
  border-color: #d7ebe2;
  background: #eef7f3;
}
.agent-hero-demo .hero-insight-label,
.agent-hero-demo .hero-criteria-gap-label {
  margin: 0;
  color: #021329;
  font-size: 0.625rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  line-height: 1.2;
  text-transform: uppercase;
}
.agent-hero-demo .hero-insight-value,
.agent-hero-demo .hero-criteria-gap-text {
  margin: 0.3rem 0 0;
  color: #0f172a;
  font-size: 0.78125rem;
  font-weight: 600;
  line-height: 1.4;
}
.agent-hero-demo .hero-mini-chart {
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
  margin-top: 0.75rem;
}
.agent-hero-demo .hero-mini-chart-row {
  display: grid;
  grid-template-columns: 100px minmax(0, 1fr) 36px;
  gap: 0.6rem;
  align-items: center;
}
.agent-hero-demo .hero-mini-chart-label {
  color: #475569;
  font-size: 0.6875rem;
  font-weight: 600;
  line-height: 1.2;
}
.agent-hero-demo .hero-mini-chart-track { height: 0.5625rem; }
.agent-hero-demo .hero-todo-list {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  margin-top: 0.65rem;
}
.agent-hero-demo .hero-todo-item {
  display: grid;
  grid-template-columns: 18px minmax(0, 1fr) auto;
  gap: 0.55rem;
  align-items: center;
  min-height: 2.125rem;
  border: 1px solid #e8edf2;
  border-radius: 0.55rem;
  background: #fff;
  padding: 0.45rem 0.55rem;
}
.agent-hero-demo .hero-todo-check {
  width: 1rem;
  height: 1rem;
  border: 1.5px solid #94a3b8;
  border-radius: 0.25rem;
}
.agent-hero-demo .hero-todo-text {
  color: #334155;
  font-size: 0.71875rem;
  font-weight: 600;
  line-height: 1.25;
}
.agent-hero-demo .hero-todo-priority {
  border-radius: 999px;
  background: #eef7f3;
  padding: 0.2rem 0.4rem;
  color: #021329;
  font-size: 0.5625rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  line-height: 1;
  text-transform: uppercase;
}
.agent-hero-demo .hero-todo-priority--medium {
  background: #f1f5f9;
  color: #64748b;
}
.agent-hero-demo .hero-section-list,
.agent-hero-demo .hero-ingest-list {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  margin-top: 0.65rem;
}
.agent-hero-demo .hero-section-list--two-col,
.agent-hero-demo .hero-ingest-list--two-col {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: 0.75rem;
  row-gap: 0.35rem;
}
.agent-hero-demo .hero-section-item,
.agent-hero-demo .hero-ingest-item {
  display: grid;
  grid-template-columns: 1.15rem minmax(0, 1fr);
  gap: 0.55rem;
  align-items: start;
  padding: 0.35rem 0;
}
.agent-hero-demo .hero-section-list--two-col .hero-section-item,
.agent-hero-demo .hero-ingest-list--two-col .hero-ingest-item {
  padding: 0.2rem 0;
}
.agent-hero-demo .hero-section-num {
  display: inline-flex;
  width: 1.15rem;
  height: 1.15rem;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: #eef7f3;
  color: #021329;
  font-size: 0.5625rem;
  font-weight: 700;
  line-height: 1;
  margin-top: 0.1rem;
}
.agent-hero-demo .hero-section-text,
.agent-hero-demo .hero-ingest-text {
  color: #0f172a;
  font-size: 0.78125rem;
  font-weight: 600;
  line-height: 1.35;
}
.agent-hero-demo .hero-ingest-text strong {
  font-weight: 700;
}
.agent-hero-demo .hero-ingest-text span {
  display: block;
  margin-top: 0.15rem;
  color: #64748b;
  font-size: 0.6875rem;
  font-weight: 500;
  line-height: 1.35;
}
.agent-hero-demo .hero-ingest-dot {
  width: 0.45rem;
  height: 0.45rem;
  margin-top: 0.4rem;
  border-radius: 999px;
  background: #021329;
}
.agent-hero-demo .hero-file-chip {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  width: 100%;
  margin-top: 0.85rem;
  border: 1px solid #e2e8f0;
  border-radius: 0.65rem;
  background: #f8fafc;
  padding: 0.65rem 0.75rem;
  text-align: left;
  cursor: default;
}
.agent-hero-demo .hero-file-chip__icon {
  display: inline-flex;
  width: 2.15rem;
  height: 2.15rem;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  border-radius: 0.45rem;
  background: #fee2e2;
  color: #b91c1c;
}
.agent-hero-demo .hero-file-chip__icon svg {
  width: 1.05rem;
  height: 1.05rem;
}
.agent-hero-demo .hero-file-chip__meta {
  min-width: 0;
  flex: 1;
}
.agent-hero-demo .hero-file-chip__name {
  margin: 0;
  overflow: hidden;
  color: #0f172a;
  font-size: 0.78125rem;
  font-weight: 700;
  line-height: 1.25;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.agent-hero-demo .hero-file-chip__size {
  margin: 0.15rem 0 0;
  color: #64748b;
  font-size: 0.625rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}
.agent-hero-demo .hero-file-chip__action {
  flex-shrink: 0;
  color: #021329;
  font-size: 0.6875rem;
  font-weight: 700;
}
.agent-hero-demo .hero-agent-typing-dot {
  width: 0.375rem;
  height: 0.375rem;
  border-radius: 9999px;
  background: var(--kelsey-green);
  animation: agent-hero-typing 1.1s ease-in-out infinite;
}
.agent-hero-demo .hero-agent-typing-dot:nth-child(2) { animation-delay: 0.15s; }
.agent-hero-demo .hero-agent-typing-dot:nth-child(3) { animation-delay: 0.3s; }
@keyframes agent-hero-typing {
  0%, 80%, 100% { opacity: 0.25; transform: translateY(0); }
  40% { opacity: 1; transform: translateY(-2px); }
}
.agent-hero-demo .hero-agent-composer {
  flex-shrink: 0;
  padding: 0.5rem 2.15rem 0.55rem;
}
.agent-hero-demo .hero-agent-input-wrap {
  position: relative;
  height: 2.375rem;
}
.agent-hero-demo .hero-agent-input {
  display: flex;
  width: 100%;
  height: 2.375rem;
  align-items: center;
  border: 1px solid #e2e8f0;
  border-radius: 0.75rem;
  background: rgba(248, 250, 252, 0.8);
  padding: 0 2.75rem 0 0.875rem;
  color: #94a3b8;
  font-size: 0.8125rem;
}
.agent-hero-demo .hero-agent-send {
  position: absolute;
  top: 50%;
  right: 0.5rem;
  display: inline-flex;
  width: 1.75rem;
  height: 1.75rem;
  align-items: center;
  justify-content: center;
  border-radius: 9999px;
  background: var(--kelsey-green);
  color: #fff;
  opacity: 0.6;
  transform: translateY(-50%);
}
@media (max-width: 767px) {
  .agent-hero-demo .hero-ask-chips { flex-direction: column; }
  .agent-hero-demo .hero-agent-chip { width: 100%; }
  .agent-hero-demo .agent-card { border-radius: 0.875rem; }
  .agent-hero-demo .hero-agent-messages { padding: 1rem 0.85rem 1.15rem; }
  .agent-hero-demo .hero-agent-user-bubble {
    max-width: calc(100% - 2.5rem);
    padding: 0.65rem 0.85rem;
    font-size: 0.78125rem;
  }
  .agent-hero-demo .hero-experiment-body { flex-direction: column; }
  .agent-hero-demo .hero-experiment-change {
    max-width: none;
    flex: none;
    border-right: 0;
    border-bottom: 1px solid #f1f5f9;
  }
  .agent-hero-demo .hero-experiment-chart-col { flex: none; }
  .agent-hero-demo .hero-agent-composer { display: none; }
}
@media (max-width: 520px) {
  .agent-hero-demo .hero-criteria-row { grid-template-columns: 1fr; gap: 0.3rem; }
  .agent-hero-demo .hero-criteria-bar-line { grid-template-columns: 72px 1fr 34px; }
  .agent-hero-demo .hero-mini-chart-row { grid-template-columns: 88px minmax(0, 1fr) 34px; }
}
@media (prefers-reduced-motion: reduce) {
  .agent-hero-demo .hero-agent-chip { transition: none; }
  .agent-hero-demo .hero-agent-chip:hover { transform: none; }
  .agent-hero-demo .hero-agent-typing-dot { animation: none; }
}
