/* Modern CSS reset tailored for Raila Adventures */
*,
*::before,
*::after {
  box-sizing: border-box;
}

* {
  margin: 0;
  min-width: 0;
}

html {
  font-family: var(--font-body, 'Nunito', system-ui, sans-serif);
  background-color: var(--color-surface-950);
  color: var(--color-text-200);
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  hanging-punctuation: first allow-end;
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  background-color: var(--color-surface-950);
  color: var(--color-text-200);
  line-height: var(--line-height-base, 1.6);
  font-size: var(--font-size-md, 1rem);
  font-family: inherit;
  display: flex;
  flex-direction: column;
}

img,
picture,
video,
canvas,
svg {
  display: block;
  max-width: 100%;
}

input,
button,
textarea,
select {
  font: inherit;
  color: inherit;
  background: none;
  border: none;
}

button,
[role='button'],
[type='button'],
[type='submit'],
[type='reset'] {
  cursor: pointer;
}

a {
  color: inherit;
  text-decoration: none;
}

ul[role='list'],
ol[role='list'] {
  list-style: none;
  padding: 0;
}

table {
  border-collapse: collapse;
  width: 100%;
}

dialog {
  border: none;
  background: transparent;
  padding: 0;
}

@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;
  }
}

