/* Allveltro — shared components: icons, chips, AI mark, grain, live dot. */

/* ---------- Shared bits ---------- */

.icon {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex: none;
}
.chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 3px 10px;
  border-radius: 999px;
  border: 1px solid var(--line-strong);
  font-size: 0.7812rem;
  font-weight: 600;
  line-height: 1.5;
  white-space: nowrap;
}
.chip-accent {
  border-color: transparent;
  background: color-mix(in srgb, var(--accent) 18%, transparent);
  color: var(--accent);
}
.chip-warn {
  border-color: transparent;
  background: color-mix(in srgb, var(--status-warn) 16%, transparent);
  color: var(--status-warn);
}
.ai-mark {
  display: inline-grid;
  place-items: center;
  width: 22px;
  height: 22px;
  border-radius: 7px;
  background: var(--accent);
  color: var(--on-accent);
}
.ai-mark .icon {
  width: 14px;
  height: 14px;
  stroke-width: 2;
}
/* Fine grain keeps the large dark areas from looking flat */
.grain {
  position: relative;
  isolation: isolate;
}
.grain::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: 0.05;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 .9 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
/* The logo dot, alive: one soft ring spreads from the eyebrow dot (static under reduced motion) */
.eyebrow-live {
  position: relative;
}
.eyebrow-live::after {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 8px;
  height: 8px;
  margin-top: -4px;
  border-radius: 50%;
  background: currentColor;
  opacity: 0;
}
.js .eyebrow-live::after {
  animation: ring 3.2s var(--ease) infinite;
}
@keyframes ring {
  0% {
    transform: scale(1);
    opacity: 0.55;
  }
  70%,
  100% {
    transform: scale(3.2);
    opacity: 0;
  }
}
@media (max-width: 640px) {
  body {
    font-size: 1rem;
  }
  .btn {
    width: 100%;
    justify-content: center;
  }
}
