.setup-toc {
    box-sizing: border-box;
    counter-reset: setup-toc;
    background: #F1F8FF;
    border-radius: 36px;
    padding: 24px 28px 28px;
    margin: 30px 0;
    font-family: 'Roboto', sans-serif;
}

.setup-toc__title {
    display: block;
    font-family: 'Chiron GoRound TC WS', 'Roboto', sans-serif;
    font-size: 26px;
    font-weight: 600;
    line-height: 120%;
    color: var(--header-color, #080752);
    margin-bottom: 20px;
}

.setup-toc__list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.setup-toc__list li {
    counter-increment: setup-toc;
}

.setup-toc__list a {
    position: relative;
    display: flex;
    align-items: center;
    column-gap: 16px;
    box-sizing: border-box;
    padding: 12px 20px;
    text-decoration: none;
    font-size: 16px;
    line-height: 135%;
    color: var(--header-color, #080752);
    background-color: #fff;
    border: 1px solid #B1D8FB;
    border-radius: 20px;
    overflow: hidden;
    z-index: 1;
    transition: 0.3s all ease;
}

.setup-toc__list a::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(94.23deg, #447EF4 0%, #9795FB 52.88%, #B1D8FB 100%);
    opacity: 0;
    z-index: 1;
    transition: opacity 0.3s ease;
    border-radius: inherit;
}

.setup-toc__list a::before {
    content: counter(setup-toc, decimal-leading-zero);
    position: relative;
    z-index: 2;
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    font-size: 14px;
    font-weight: 600;
    color: #fff;
    background: linear-gradient(94.23deg, #447EF4 0%, #9795FB 52.88%, #B1D8FB 100%);
    transition: 0.3s all ease;
}

.setup-toc__list a span {
    position: relative;
    z-index: 2;
    transition: color 0.3s ease;
}

.setup-toc__list a:hover {
    border-color: transparent;
    box-shadow: 0 8px 20px rgba(82, 108, 160, 0.18);
}

.setup-toc__list a:hover::after {
    opacity: 1;
}

.setup-toc__list a:hover::before {
    background: #fff;
    color: var(--header-color, #080752);
}

.setup-toc__list a:hover span {
    color: #fff;
}

@media (max-width: 600px) {
    .setup-toc {
        padding: 18px;
        border-radius: 24px;
        margin: 20px 0;
    }

    .setup-toc__title {
        font-size: 20px;
        margin-bottom: 16px;
    }

    .setup-toc__list {
        gap: 10px;
    }

    .setup-toc__list a {
        font-size: 14px;
        padding: 10px 14px;
        column-gap: 12px;
    }

    .setup-toc__list a::before {
        width: 32px;
        height: 32px;
        font-size: 12px;
    }
}
