Raise the back of your tongue to touch the soft palate (velum). Stop the air, then release.

Americans pronounce coastline as KOHST-lahyn (/ˈkoʊstˌlaɪn/). In "coastline", the "t" is squeezed between other consonants and drops out — the surrounding consonants flow together without it — most natural in flowing, casual speech; in careful or formal speech, the T may be lightly present. This is called the Silent T in Clusters, and it's one of the defining features of casual American English. It comes out as KOHST·LAHYN. Stress falls on the first syllable — keep everything else short and quick. You'll hear it in sentences like "The coastline is rugged and dangerous for ships".
Record yourself saying "coastline" and play it back. The mic stays on your device — nothing's uploaded.
2 syllables, 7 sounds. Tap a syllable to jump to its row, then explore each sound's mouth shape and how it's made.
Raise the back of your tongue to touch the soft palate (velum). Stop the air, then release.

Start with your mouth slightly open, then close your jaw slightly as your lips round. Shift your tongue back slightly, then stretch the back up.
Place your tongue tip near the roof of your mouth behind your top teeth. Push air through the narrow gap. No voicing.

The T is skipped entirely. Your tongue doesn't make contact at the T position.

Place the tip of your tongue against the alveolar ridge just behind your top front teeth, the same contact point as /t/, /d/, and /n/. The difference is what happens to the air: for /l/, you let it flow continuously around the <em>sides</em> of the tongue (that's why /l/ is called a lateral). Turn your voice on the whole time. Lips stay relaxed, no rounding or flaring. For the Dark L variant at the end of a syllable, also pull the back of the tongue up and back toward the soft palate.

Start with your jaw open wide and your tongue resting low and flat. Glide the front of your tongue up toward the roof of your mouth as your jaw closes halfway.
Touch the tip or front edge of your tongue to the roof of your mouth behind your teeth. Air flows through your nose.

The textbook way isn't wrong — it's just not how anyone actually says it.
In "coastline", the "t" is squeezed between other consonants and drops out — the surrounding consonants flow together without it — most natural in flowing, casual speech; in careful or formal speech, the T may be lightly present. /t/ is dropped entirely — the surrounding consonants flow together without the T.
Stress falls on the first syllable, not the others. Stretch KOHST — keep everything else short and quick.