Geometry of risk