Card framework