You're halfway there. The indices are the grid lines, but they're also one-indexed. That's consistent with other parts of CSS, though it's inconsistent with the rest of the programming world.
It's just that C's heavy influence resulted in most languages with arrays being 0 indexed.