/* Tailwind handles layout; this file only holds the page backdrop, mood shift and focus ring. */
html, body { margin: 0; min-height: 100%; }
body {
  font-family: 'Be Vietnam Pro', system-ui, sans-serif; color: #4A3340;
  background: linear-gradient(160deg, #FFD9E4 0%, #FFF1E0 48%, #DDEBFA 100%) fixed;
  -webkit-font-smoothing: antialiased;
}
/* The pastel world fades as mental drops */
#app { transition: filter .8s; }
body[data-mood=mid] #app { filter: saturate(.8); }
body[data-mood=low] #app { filter: saturate(.5) brightness(.97); }
button:focus-visible, input:focus-visible { outline: 3px solid #8E6BD8; outline-offset: 2px; }
@media (prefers-reduced-motion: reduce) { * { transition: none !important; } }

/* Phase transitions: content rises in once per phase change */
@keyframes rise { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
.phase-in { animation: rise .4s ease-out; }
.phase-in > * { animation: rise .4s ease-out backwards; }
.phase-in > *:nth-child(2) { animation-delay: .06s; }
.phase-in > *:nth-child(3) { animation-delay: .12s; }
.phase-in > *:nth-child(4) { animation-delay: .18s; }
@media (prefers-reduced-motion: reduce) { .phase-in, .phase-in > * { animation: none; } }
