def word_score(word: str) -> int:
    """
    A word's score is based on the length of the word:
    1 point for 4-letter words, 5 points for 5-letter words,
    6 points for 6-letter words, etc., plus a bonus of
    7 points if the word contains 7 unique letters
    """
    if len(word) == 4:
        return 1
    return len(word) + 7 * (len(set(word)) == 7)