/* ============================================================
   EONARIA — Reset moderno
   ============================================================ */
*,*::before,*::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  tab-size: 2;
}

body {
  min-height: 100svh;
  line-height: var(--lh-normal);
  font-size: var(--t-base);
  font-family: var(--font-body);
  color: var(--text-0);
  background-color: var(--bg-0);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img, video, svg { display: block; max-width: 100%; }
img { height: auto; object-fit: cover; }

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

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

h1,h2,h3,h4,h5,h6 {
  font-family: var(--font-title);
  font-weight: 700;
  line-height: var(--lh-tight);
  color: var(--text-0);
}

ul, ol { list-style: none; }
p { max-width: 72ch; }

input, textarea, select {
  font-family: inherit;
  font-size: inherit;
  background: none;
  border: none;
  outline: none;
  color: inherit;
}

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

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: var(--r-sm);
}

::selection {
  background: var(--accent-dim);
  color: var(--accent-bright);
}

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