Every class has a defense bonus progression (analogous to the base attack bonus progression) that a character uses as a bonus to her AC when she's not wearing any armor. This is how our high-level heroes can run around getting into fights with squads of stormtroopers and elite bounty hunters while wearing just their civilian clothes and have a chance to walk away from it.