/* Tripper Ticket — minimal reset. Modern, accessible defaults. */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }

html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  min-height: 100vh;
  background: var(--tt-color-bg);
  color: var(--tt-color-text);
  font-family: var(--tt-font-body);
  font-size: var(--tt-fs-body);
  line-height: var(--tt-lh-normal);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img, picture, svg, video { display: block; max-width: 100%; height: auto; }
input, button, textarea, select { font: inherit; color: inherit; }
button { cursor: pointer; }
a { color: inherit; text-decoration: none; }
ul[role="list"], ol[role="list"] { list-style: none; padding: 0; }

/* Accessible, consistent focus for keyboard users only. */
:focus-visible { outline: 2px solid var(--tt-color-focus); outline-offset: 2px; }
:focus:not(:focus-visible) { outline: none; }

/* Screen-reader only helper. */
.tt-visually-hidden {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
