/* Site motion kit (round 256, preview). See assets/js/motion-kit.js. */

/* BlurText: words start blurred and lowered, then sharpen in order. Hidden only once the script has split them. */
.bt-ready .bt-w { display: inline-block; opacity: 0; filter: blur(10px); transform: translateY(14px); transition: opacity 600ms ease, filter 600ms ease, transform 600ms cubic-bezier(.23, 1, .32, 1); transition-delay: calc(var(--i) * 70ms); }
.bt-ready.bt-in .bt-w { opacity: 1; filter: none; transform: none; }

/* SpotlightCard */
.spot { position: relative; isolation: isolate; }
.spot::after { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; z-index: 1; opacity: 0; transition: opacity 300ms ease;
  background: radial-gradient(380px circle at var(--mx, 50%) var(--my, 50%), rgba(96, 165, 250, .16), transparent 62%); }
.spot:hover::after { opacity: 1; }

/* StarBorder: two soft lights travel along the edge of the main demo button. */
.nav-actions .button { position: relative; overflow: hidden; isolation: isolate; }
.nav-actions .button::before, .nav-actions .button::after { content: ""; position: absolute; width: 60%; height: 60%; border-radius: 50%; z-index: -1; opacity: .75; pointer-events: none;
  background: radial-gradient(circle, rgba(255, 255, 255, .85), transparent 12%); animation: star-bottom 5s linear infinite alternate; bottom: -48%; right: -250%; }
.nav-actions .button::after { animation-name: star-top; top: -48%; left: -250%; bottom: auto; right: auto; }
@keyframes star-bottom { from { transform: translateX(0); opacity: .9; } to { transform: translateX(-100%); opacity: 0; } }
@keyframes star-top { from { transform: translateX(0); opacity: .9; } to { transform: translateX(100%); opacity: 0; } }

/* ShinyText: a light sweeps across the hero badge words. */
.hero-badge > span:not(.badge-dot) { color: transparent; -webkit-background-clip: text; background-clip: text; background-size: 200% 100%;
  background-image: linear-gradient(110deg, #60a5fa 40%, #e0f2fe 50%, #60a5fa 60%); animation: shine 3.2s linear infinite; }
@keyframes shine { from { background-position: 100% 0; } to { background-position: -100% 0; } }

/* LogoLoop: the apps TinoCall works with, scrolling slowly; pauses on hover. Names only, no third-party logos. */
.works-with { padding: 34px 0 10px; }
.works-with p { text-align: center; font-size: 14px; font-weight: 700; color: var(--muted); margin: 0 0 18px; }
.ww-viewport { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
.ww-track { display: flex; width: max-content; animation: ww-loop 36s linear infinite; }
.ww-viewport:hover .ww-track { animation-play-state: paused; }
.ww-track ul { display: flex; gap: 56px; list-style: none; margin: 0; padding: 0 28px; }
.ww-track li { font-size: 19px; font-weight: 800; letter-spacing: -.02em; color: var(--ink); white-space: nowrap; }
.ww-track li span { font-weight: 600; color: var(--muted); }
@keyframes ww-loop { to { transform: translateX(-50%); } }

@media (prefers-reduced-motion: reduce) {
  .nav-actions .button::before, .nav-actions .button::after { display: none; }
  .hero-badge > span:not(.badge-dot) { animation: none; background-position: 0 0; }
  .ww-track { animation: none; flex-wrap: wrap; width: auto; justify-content: center; }
  .ww-track ul[aria-hidden] { display: none; }
}
