/* ============================================================
   Reset
   ============================================================ */

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

html, body, h1, h2, h3, h4, h5, h6, p, figure, blockquote, dl, dd, ol, ul {
  margin: 0;
  padding: 0;
}

ul[role='list'], ol[role='list'], .u-list-reset { list-style: none; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: auto; /* Lenis maneja el scroll */
}

body {
  min-height: 100vh;
  text-rendering: optimizeSpeed;
  line-height: var(--lh-base);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

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

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

button {
  background: none;
  border: 0;
  cursor: pointer;
}

h1, h2, h3, h4 { text-wrap: balance; }
p { text-wrap: pretty; }

/* focus visible, no outline feo */
:focus-visible {
  outline: 2px solid var(--c-accent);
  outline-offset: 3px;
}

::selection {
  background: var(--c-accent);
  color: #04120C;
}
