Other income, net - Narrative (Details) - USD ($) $ in Millions |
3 Months Ended | 6 Months Ended | ||
|---|---|---|---|---|
Dec. 31, 2025 |
Dec. 31, 2024 |
Dec. 31, 2025 |
Dec. 31, 2024 |
|
| Other Income and Expenses [Abstract] | ||||
| Sales to and services performed for equity method investments | $ 26 | $ 23 | $ 53 | $ 43 |
| Cash dividends from equity method investments | $ 112 | $ 73 | ||