/* Tind's agent, ported from the app preview (preview/agent.css, "face"), on the landing tokens.
   No spring or overshoot; with reduced motion or the motion switch off, nothing moves. */
.pa-agent {
  --agent-bg: var(--navy);
  --agent-eye: #fffdf9;
  position: fixed; bottom: 24px; inset-inline-end: 24px; z-index: 50;
  width: 56px; height: 56px; display: grid; place-items: center; cursor: default;
}
[data-theme="dark"] .pa-agent { --agent-bg: var(--accent); --agent-eye: #0b1019; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .pa-agent { --agent-bg: var(--accent); --agent-eye: #0b1019; } }
@media (max-width: 720px) { .pa-agent { bottom: 16px; inset-inline-end: 16px; width: 48px; height: 48px; } }
.pa-face {
  display: flex; align-items: center; justify-content: center; gap: 9px;
  width: 48px; height: 48px; border-radius: 16px; background: var(--agent-bg);
  box-shadow: 0 6px 16px -6px var(--agent-bg);
}
.pa-eye {
  width: 7px; height: 11px; border-radius: 4px; background: var(--agent-eye);
  translate: var(--look-x, 0) var(--look-y, 0);
  transition: translate var(--duration-base) var(--ease), height var(--duration-fast) var(--ease);
}
.pa-agent:hover .pa-eye { height: 3px; }
@media (prefers-reduced-motion: no-preference) {
  :root:not([data-motion="paused"]) .pa-agent { animation: pa-arrive 520ms var(--ease) both; }
  :root:not([data-motion="paused"]) .pa-eye { animation: pa-blink 5s ease-in-out infinite; }
  :root:not([data-motion="paused"]) .pa-agent.pa-stroll .pa-face { animation: pa-stroll 3.4s linear; }
  :root:not([data-motion="paused"]) .pa-agent.pa-stroll .pa-eye { animation: pa-eyes-stroll 3.4s linear; }
}
@keyframes pa-arrive { from { opacity: 0; translate: 0 12px; scale: 0.9; } }
@keyframes pa-blink { 0%, 46%, 50%, 100% { scale: 1 1; } 48% { scale: 1 0.1; } }
@keyframes pa-stroll {
  0% { translate: 0 0; scale: 1 1; rotate: 0deg; animation-timing-function: var(--ease); }
  7% { translate: 10px -8px; rotate: 0deg; scale: 0.97 1.03; animation-timing-function: ease-in-out; }
  14% { translate: 20px 0; rotate: 0deg; scale: 1.06 0.94; animation-timing-function: var(--ease); }
  17% { translate: 20px 0; rotate: 0deg; scale: 1 1; animation-timing-function: var(--ease); }
  24% { translate: 30px -8px; rotate: 0deg; scale: 0.97 1.03; animation-timing-function: ease-in-out; }
  31% { translate: 40px 0; rotate: 0deg; scale: 1.06 0.94; animation-timing-function: var(--ease); }
  34% { translate: 40px 0; rotate: 0deg; scale: 1 1; animation-timing-function: var(--ease); }
  41% { translate: 50px -8px; rotate: 0deg; scale: 0.97 1.03; animation-timing-function: ease-in-out; }
  48% { translate: 60px 0; rotate: 0deg; scale: 1.06 0.94; animation-timing-function: var(--ease); }
  52% { translate: 60px 0; rotate: 0deg; scale: 1 1; }
  60% { translate: 60px 2px; rotate: 0deg; scale: 1.08 0.9; animation-timing-function: var(--ease); }
  75% { translate: 30px -30px; scale: 0.96 1.04; rotate: -180deg; animation-timing-function: ease-in-out; }
  90% { translate: 0 0; scale: 1.1 0.9; rotate: -360deg; animation-timing-function: var(--ease); }
  100% { translate: 0 0; scale: 1 1; rotate: -360deg; }
}
@keyframes pa-eyes-stroll {
  0%, 52% { translate: 3px 0; }
  58%, 92% { translate: -3px -1px; }
  100% { translate: var(--look-x, 0) var(--look-y, 0); }
}
