/* HanezUI — reset + base */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }

html, body {
  height: 100%;
  background: var(--wow-bg);
  color: var(--wow-text);
  font-family: var(--wow-font-sans);
  font-size: var(--wow-text-base);
  line-height: var(--wow-leading-normal);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

img, picture, video, canvas, svg { display: block; max-width: 100%; }

input, button, textarea, select { font: inherit; color: inherit; }

p, h1, h2, h3, h4, h5, h6 { overflow-wrap: break-word; }

h1, h2, h3, h4, h5, h6 {
  color: var(--wow-text-strong);
  font-weight: var(--wow-weight-semibold);
  line-height: var(--wow-leading-tight);
}
h1 { font-size: var(--wow-text-3xl); }
h2 { font-size: var(--wow-text-2xl); }
h3 { font-size: var(--wow-text-xl); }
h4 { font-size: var(--wow-text-lg); }

a {
  color: var(--wow-accent);
  text-decoration: none;
  transition: color var(--wow-transition-fast);
}
a:hover { color: var(--wow-accent-hover); }

code, pre { font-family: var(--wow-font-mono); font-size: 0.9em; }

::selection { background: var(--wow-accent-soft); color: var(--wow-text-strong); }

/* Scrollbar discreto para tema oscuro */
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: var(--wow-bg); }
::-webkit-scrollbar-thumb {
  background: var(--wow-border-strong);
  border-radius: var(--wow-radius-full);
  border: 2px solid var(--wow-bg);
}
::-webkit-scrollbar-thumb:hover { background: var(--wow-text-subtle); }

/* Focus visible consistente */
:focus-visible {
  outline: 2px solid var(--wow-accent);
  outline-offset: 2px;
  border-radius: var(--wow-radius-sm);
}
