Why does the stain appear away from the leak?
Because water runs along the top of a rafter or a joist until something stops it. The stain marks the lowest point of that run, not the entry. Finding the entry means tracing the path from the attic side wherever access allows.
Framing is effectively a set of channels. Water that enters near a ridge can run several feet before a nail, a joint or a change of slope lets it drop. Insulation complicates it further, because a soaked batt holds water and releases it slowly into whatever is beneath, which is why a stain can keep growing for a day or two after the rain has stopped.
This is also why a ceiling repair without the trace is a waste of money. Patch the stain, close it up, and the next heavy rain reproduces it in the same place. The order that works is find, stop, dry, then repair, and the first of those is cheapest done with a torch and a meter in an attic.
Can an ice dam be prevented?
The mechanism is a warm roof deck and a cold eave, so what reduces it is attention to insulation and to air leaking into the attic from the rooms below. Nothing on this page claims a particular product or a guaranteed outcome.
A technician drying out an ice dam loss will usually see the cause while they are up there: insulation thin or displaced over the top plate, a hatch that does not seal, recessed fittings or a bathroom fan venting into the attic space instead of outside. Those are the things that keep the deck warm enough to melt snow that then refreezes at the edge.
What is worth separating is the emergency and the fix. The emergency is the water now inside the wall and the ceiling, which is drying work. The fix is insulation, air sealing and ventilation, which is separate work on a separate schedule, and reasonable to plan for the following summer rather than during a thaw.
What drives the size of a roof leak job?
How far the water traveled, how much insulation it soaked, whether a ceiling has to come down, and whether the leak is days or seasons old. No price figure is published here, and the amount is set and confirmed by the company that takes the call before work starts.
A single wet rafter bay caught after one storm is a small metered run, and most of the cost is equipment time. The same leak left through a winter of thaws can mean insulation out across a whole eave, a ceiling replaced and remediation work ahead of the rebuild. Age of the loss moves the number more than the severity of any single rainfall does.
Building type matters too. A plaster ceiling on wood lath behaves differently from board and takes longer to dry, and an older house with knee walls and finished attic space has cavities that are harder to reach. Published figures for this work differ widely, which is why none appears on this site; the drivers are what is honest to print.
Do you repair the roof as well?
The scope here is the water: finding the entry, stopping it getting worse, and drying the structure. Work on the roof covering is a separate trade and a separate scope, discussed plainly on the call rather than folded into a drying price.
Keeping them separate protects the homeowner. A drying scope is measured in readings and days; a roof scope is measured in area, detail and material. Combining them hides which part you are actually paying for, and it is the usual way a water loss turns into an argument later.
On the contractor side, Pennsylvania requires a contractor performing home improvements above a published annual threshold to register with the Pennsylvania Office of Attorney General, and that registration number has to appear in advertising, contracts, estimates and proposals. The threshold itself and the contract and deposit rules are set out on this site's contractor registration guide. Registration is not a license, and no claim is made here that any particular contractor holds either.
What should I do with the water coming through now?
Move what is underneath, catch what you can from a safe position, and keep out from under anything sagging. Do not go onto the roof in rain, wind or ice. The phone is answered 24 hours a day and no arrival time is promised.
A bucket under a steady drip is sensible. Putting a hand through a bulging ceiling to let it out is not, because a plaster or board ceiling holding water can release far more weight than it looks capable of. Clear the room, shut the door, and leave it.
Photographs taken while the water is visible are worth more than a tidy room. Capture the ceiling, the attic if you can reach it safely, and anything damaged, and keep what you remove. The Pennsylvania Insurance Department's published advice on documenting a loss is summarised on this site's water damage insurance documentation page.