/* Total Mowers prototype: motion and small-screen fallbacks */
html { scroll-behavior: smooth; }
body { margin: 0; -webkit-font-smoothing: antialiased; }

.tm-rv { opacity: 0; filter: blur(10px); transform: translateY(18px);
  transition: opacity .9s cubic-bezier(.2,.7,.2,1), filter .9s cubic-bezier(.2,.7,.2,1), transform .9s cubic-bezier(.2,.7,.2,1); will-change: opacity, filter, transform; }
.tm-rv.tm-in { opacity: 1; filter: blur(0); transform: none; }
.tm-settled .tm-rv { transition: none; }

.tm-w { display: inline-block; opacity: 0; filter: blur(14px); transform: translateY(.25em);
  animation: tm-word 1s cubic-bezier(.2,.7,.2,1) forwards; }
@keyframes tm-word { to { opacity: 1; filter: blur(0); transform: none; } }

a, button { transition: background-color .2s, color .2s, border-color .2s, transform .2s; }
a:active, button:active { transform: scale(.98); }

@media (prefers-reduced-motion: reduce) {
  .tm-rv, .tm-w { opacity: 1 !important; filter: none !important; transform: none !important; animation: none !important; transition: none !important; }
}

/* Small screens: the prototype is designed desktop-first; these keep it usable on a phone */
@media (max-width: 760px) {
  #app [style*="grid-template-columns: repeat(4"],
  #app [style*="grid-template-columns: repeat(5"],
  #app [style*="grid-template-columns: repeat(6"] { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }
  #app [style*="grid-template-columns: repeat(2"],
  #app [style*="grid-template-columns: repeat(3"] { grid-template-columns: minmax(0, 1fr) !important; }
  #app h1 { font-size: 40px !important; }
  #app h2 { font-size: 32px !important; }
  #app [style*="padding: 48px"], #app [style*="padding: 44px"], #app [style*="padding: 40px"] { padding: 24px !important; }
  #app [style*="padding: 0 32px"] { padding-left: 16px !important; padding-right: 16px !important; }
  #app [style*="min-height: 560px"], #app [style*="min-height: 460px"], #app [style*="min-height: 440px"] { min-height: 0 !important; }
  #app aside { max-width: none !important; }
}
