/* Agents hero: the team of agents around ANVEN (moved here from components/showcase.js so the
   Content-Security-Policy can forbid inline <style>). */
.ax { position: relative; margin: 0; width: 100%; max-width: 640px; justify-self: center; aspect-ratio: 600 / 580;
  container-type: inline-size; color: var(--on-dark); }
.ax__svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.ax-loop { fill: none; stroke: rgba(246, 240, 248, .18); stroke-width: 1.2; stroke-dasharray: 3 7; }
.ax-link { fill: none; stroke: url(#ax-link); stroke-width: 1.8; stroke-linecap: round; }
.ax-link-glow { fill: none; stroke: #f39f5a; stroke-width: 8; opacity: .16; filter: url(#ax-soft); }
.ax-dot { fill: #fde3c8; }
.ax-ring { fill: none; stroke: rgba(246, 240, 248, .16); stroke-width: 1.2; transform-box: fill-box; transform-origin: center; }
.ax-ring--a { stroke-dasharray: 2 8; animation: ax-spin 70s linear infinite; }
.ax-ring--b { stroke: rgba(243, 159, 90, .4); stroke-dasharray: 70 24 8 24; animation: ax-spin 110s linear infinite reverse; }
.ax-sweep { fill: none; stroke: url(#ax-sweep); stroke-width: 3; stroke-linecap: round; transform-box: view-box;
  transform-origin: 300px 272px; animation: ax-spin 6s linear infinite; }
.ax-halo { transform-box: fill-box; transform-origin: center; animation: ax-breathe 6s ease-in-out infinite; }
.ax-ripple { fill: none; stroke: #f39f5a; stroke-width: 1.4; opacity: 0; transform-box: fill-box; transform-origin: center;
  animation: ax-ripple 4.8s ease-out 2s infinite; }
.ax-core-name { fill: rgba(246, 240, 248, .8); font: 600 10px/1 var(--font-display); letter-spacing: .32em; text-anchor: middle; }
.ax-node-in { transform-box: fill-box; transform-origin: center; }
.ax-node-disc { fill: url(#ax-node); stroke: url(#ax-link); stroke-width: 1.6; }
.ax-node-ico { color: #f8bd88; }
.ax-pulse { fill: none; stroke: #f39f5a; stroke-width: 1.2; opacity: 0; transform-box: fill-box; transform-origin: center;
  animation: ax-ping 3.6s ease-out infinite; animation-delay: calc(2s + var(--i) * .6s); }
.ax-online { fill: #4ad38c; stroke: #1d0a25; stroke-width: 2.5; }
.ax-label { fill: #f6f0f8; font: 600 14px/1 var(--font-text); text-anchor: middle; }
.ax-card { position: absolute; z-index: 3; box-sizing: border-box; padding: 2.3cqw 2.7cqw; border-radius: 18px;
  background: rgba(6, 3, 8, .9); border: 1px solid rgba(240, 241, 248, .13);
  font: 500 clamp(9px, 2.15cqw, 13px)/1.35 var(--font-text); color: #f6f0f8; }
.ax-card__k { font: 500 clamp(8px, 1.6cqw, 10.5px)/1.3 var(--font-label); letter-spacing: .14em; text-transform: uppercase; color: rgba(240, 241, 248, .6); }
.ax-card__big { display: block; margin: .25em 0 .1em; font: 800 clamp(20px, 6.4cqw, 40px)/1 var(--font-display); letter-spacing: -.04em; color: #f8bd88; }
.ax-card--count { left: 0; top: 0; width: 30%; }
.ax-card--speed { right: 0; top: 2%; width: 40%; }
.ax-card--mix { right: 0; bottom: 0; width: 42%; }
.ax-card--feed { left: 0; bottom: 2%; width: 41%; }
.ax-bars { display: grid; grid-template-columns: auto 1fr auto; gap: .45em .6em; align-items: center; margin-top: .6em; }
.ax-bars i { display: block; height: .6em; border-radius: 3px 1px 3px 1px; background: #ae445a; }
.ax-bars i.fast { background: #f39f5a; box-shadow: 0 0 10px rgba(243, 159, 90, .7); }
.ax-bars b { font-weight: 600; white-space: nowrap; }
.ax-mix { display: flex; align-items: center; gap: .9em; margin-top: .5em; }
.ax-donut { width: 30%; flex: none; display: block; }
.ax-donut circle { fill: none; stroke-width: 4.4; }
.ax-donut .t { stroke: rgba(174, 68, 90, .7); }
.ax-donut .v { stroke: #f39f5a; transform: rotate(-90deg); transform-origin: 50% 50%; }
.ax-donut text { fill: #f6f0f8; font: 700 9px var(--font-text); text-anchor: middle; }
.ax-legend { display: grid; gap: .35em; }
.ax-legend span::before { content: ""; display: inline-block; width: .65em; height: .65em; margin-right: .45em;
  border-radius: 2px; background: #f39f5a; vertical-align: -.05em; }
.ax-legend span + span::before { background: rgba(174, 68, 90, .9); }
.ax-feed { height: 5.4em; overflow: hidden; margin-top: .45em;
  -webkit-mask-image: linear-gradient(transparent, #000 20%, #000 80%, transparent);
  mask-image: linear-gradient(transparent, #000 20%, #000 80%, transparent); }
.ax-feed ul { list-style: none; margin: 0; padding: 0; animation: ax-feed 26s linear infinite; }
.ax-feed li { display: flex; align-items: center; gap: .5em; height: 1.8em; }
.ax-feed li i { width: .5em; height: .5em; flex: none; border-radius: 50%; background: #4ad38c; }
.ax-feed li b { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-weight: 500; }
.ax-feed li em { font-style: normal; font-size: .88em; color: #f8bd88; white-space: nowrap; }
.ax.play .ax-core { animation: ax-pop .8s cubic-bezier(.2, .8, .2, 1) both; }
.ax.play .ax-link { stroke-dasharray: 1; stroke-dashoffset: 1; animation: ax-draw .8s ease-out both;
  animation-delay: calc(.35s + var(--i) * .07s); }
.ax.play .ax-link-glow { animation: ax-fade .8s ease-out both; animation-delay: calc(.6s + var(--i) * .07s); }
.ax.play .ax-node-in { animation: ax-pop .6s cubic-bezier(.2, .8, .2, 1) both; animation-delay: calc(.65s + var(--i) * .08s); }
.ax.play .ax-card { animation: ax-rise .7s cubic-bezier(.2, .8, .2, 1) both; animation-delay: calc(1.1s + var(--i) * .14s); }
@keyframes ax-spin { to { transform: rotate(360deg); } }
@keyframes ax-breathe { 50% { opacity: .65; transform: scale(1.06); } }
@keyframes ax-ripple { 0% { opacity: .6; transform: scale(1); } 100% { opacity: 0; transform: scale(2.5); } }
@keyframes ax-ping { 0% { opacity: .55; transform: scale(1); } 60%, 100% { opacity: 0; transform: scale(1.8); } }
@keyframes ax-draw { to { stroke-dashoffset: 0; } }
@keyframes ax-fade { from { opacity: 0; } }
@keyframes ax-pop { from { opacity: 0; transform: scale(.5); } to { opacity: 1; transform: none; } }
@keyframes ax-rise { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
@keyframes ax-feed { to { transform: translateY(-50%); } }
@container (max-width: 440px) {
  .ax-card--speed, .ax-card--feed { display: none; }
  .ax-card--count { width: 40%; }
  .ax-card--mix { width: 56%; }
}
@media (prefers-reduced-motion: reduce) {
  .ax *, .ax.play * { animation: none !important; }
  .ax-dot { display: none; }
}
