/* base.css — Reset suave + tipografía */
*, *::before, *::after { box-sizing: border-box; }

html { font-size: 16px; -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--font);
  font-size: var(--fs-base);
  line-height: 1.5;
  color: var(--color-text-main);
  background: var(--color-bg-app);
  overflow-x: hidden;
}

/* Sólo dentro del layout nuevo */
.app-layout h1, .app-layout h2,
.app-layout h3, .app-layout h4,
.app-layout h5, .app-layout h6 {
  font-family: var(--font);
  font-weight: 600;
  line-height: 1.25;
  color: var(--color-text-main);
  margin: 0;
}
.app-layout h1 { font-size: var(--fs-2xl); }
.app-layout h2 { font-size: var(--fs-2xl); }
.app-layout h3 { font-size: var(--fs-xl); }
.app-layout h4 { font-size: var(--fs-lg); }
.app-layout p  { margin-bottom: var(--sp-4); }
.app-layout p:last-child { margin-bottom: 0; }
.app-layout ul, .app-layout ol { list-style: none; margin: 0; padding: 0; }
.app-layout img { max-width: 100%; height: auto; display: block; }

/* Scrollbar */
::-webkit-scrollbar { width: 7px; height: 7px; }
::-webkit-scrollbar-track { background: var(--color-bg-app); }
::-webkit-scrollbar-thumb { background: #CBD5E1; border-radius: var(--radius-full); }
::-webkit-scrollbar-thumb:hover { background: #94A3B8; }
