/* ============================================================
   main.css — Global reset and base styles
   Each day's experience is loaded on top of this.
   ============================================================ */

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html, body {
  width: 100%;
  min-height: 100vh;
  overflow-x: hidden;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  line-height: 1.5;
}

#app {
  min-height: 100vh;
  width: 100%;
  position: relative;
}

/* Global: stop all animations for users who prefer reduced motion.
   Individual day files restore any non-distracting transitions they need. */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* Accessible visually-hidden utility */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}

button {
  cursor: pointer;
  border: none;
  background: none;
  font-family: inherit;
}
