/* ============================================================
   Base
   ------------------------------------------------------------
   Resets, document defaults, motion preferences, and the
   `rise` keyframe shared by component entrance animations.
   ============================================================ */

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

html,
body {
  margin: 0;
  padding: 0;
}

body {
  background: var(--paper);
  color: var(--ink);
  font-family: var(--serif);
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

button {
  font-family: var(--serif);
  cursor: pointer;
}

@media (min-width: 720px) {
  body { font-size: 18px; }
}

/* Respect user motion preferences */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    transition-duration: 0.001ms !important;
  }

  /* Marquee is purely decorative info — safe to keep running */
  .telemetry-marquee-track {
    animation-duration: 18s !important;
  }
}
/* Shared entrance keyframe used by hero and any other component
   that wants a quick fade-up on load. */
@keyframes rise {
  from { opacity: 0; transform: translateY(14px); }
  to   { opacity: 1; transform: translateY(0); }
}
