/* base.css — reset leve + defaults */
*,
*::before,
*::after { box-sizing: border-box; }

html, body { height: 100%; }

body {
  margin: 0;
  text-rendering: optimizeLegibility;
}

img, svg, video, canvas {
  max-width: 100%;
  height: auto;
}

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

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

button {
  border: 0;
  background: transparent;
  padding: 0;
  cursor: pointer;
}

hr {
  border: 0;
  height: 1px;
  background: var(--separator);
}

:focus { outline: none; }

/* foco acessível, consistente */
:focus-visible{
  outline: 3px solid var(--focus);
  outline-offset: 2px;
  border-radius: 10px;
}

/* seleção */
::selection{
  background: color-mix(in srgb, var(--accent) 25%, transparent);
}
