/* Base · reset + tipografía global */
*, *::before, *::after { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--color-bg);
  color: var(--color-text);
  font-family: var(--font-sans);
  font-size: var(--fs-body);
  line-height: var(--lh-body);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

a { color: inherit; text-decoration: none; }
button { font-family: inherit; }
input, textarea, select { font-family: inherit; font-size: inherit; color: inherit; }
input:focus, textarea:focus, select:focus {
  outline: none;
  box-shadow: var(--shadow-focus);
  border-color: var(--color-accent) !important;
}

h1, h2, h3, h4, h5, h6 { margin: 0; font-weight: 400; }

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

.serif { font-family: var(--font-serif); font-weight: 400; }
.mono { font-family: var(--font-mono); }
.tabular { font-variant-numeric: tabular-nums; }
.italic { font-style: italic; }

.muted { color: var(--color-text-muted); }
.subtle { color: var(--color-text-subtle); }
.accent { color: var(--color-accent); }

.caps {
  font-size: var(--fs-xs);
  letter-spacing: 0.4px;
  text-transform: uppercase;
  color: var(--color-text-muted);
  font-weight: 500;
}

.divider-v { width: 1px; background: var(--color-border); align-self: stretch; }
.divider-h { height: 1px; background: var(--color-border); width: 100%; }

/* Scrollbar discreto */
.scroll::-webkit-scrollbar { width: 10px; height: 10px; }
.scroll::-webkit-scrollbar-thumb { background: var(--color-border-strong); border-radius: 5px; }
.scroll::-webkit-scrollbar-track { background: transparent; }

/* Esconde scrollbars dentro de artboards estáticos */
.no-scrollbar { scrollbar-width: none; }
.no-scrollbar::-webkit-scrollbar { display: none; }
