Bitcoin
What is the raw logic that converts the seed phrase to a private key?

I’m interested in how the actual seed phrase is converted to the private key.
The line seems to be quite long.
- Generate 11-word seed phrase
- convert number to binary
- Add the binary numbers modulo to get the checksum.
- Convert 12 words to hexadecimal?
If someone can explain and show a nice simple example